Skip to content

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Rowell authored and Joe Rowell committed Aug 31, 2021
1 parent 04c94a8 commit c0fe8c2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Feller_Decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ any other similar operations. Thus, this logger should only be used in a
single-threaded context.
**/
using SingleThreadedEventLogger =
Feller::Logger<Feller::EventLog, Feller::ContiguousLogStorage, Feller::NoLock>;
Feller::Logger<Feller::EventLog, Feller::ContiguousLogStorage, Feller::NoLock,
Feller::ConditionalLoggingPolicy>;
/**
MultiThreadedEventLogger. This declaration instantiates a contiguously stored
event logger with locking based on a mutex. This logger locks the logs using a
std::mutex: this only allows a single thread to write to the logger at once.
**/
using MultiThreadedEventLogger =
Feller::Logger<Feller::EventLog, Feller::ContiguousLogStorage, Feller::MutexLock>;
}; // namespace Feller
Feller::Logger<Feller::EventLog, Feller::ContiguousLogStorage, Feller::MutexLock, Feller::ConditionalLoggingPolicy>;
} // namespace Feller

#endif

0 comments on commit c0fe8c2

Please sign in to comment.