Thunderbots Project
Loading...
Searching...
No Matches
LoggerSingleton Class Reference

Static Public Member Functions

static void initializeLogger (const std::string &runtime_dir, const std::shared_ptr< ProtoLogger > &proto_logger, const bool reduce_repetition=true)
 

Member Function Documentation

◆ initializeLogger()

static void initializeLogger ( const std::string &  runtime_dir,
const std::shared_ptr< ProtoLogger > &  proto_logger,
const bool  reduce_repetition = true 
)
inlinestatic

Initializes a g3log logger for the calling program. This should only be called once at the start of a program.

Parameters
runtime_dirThe directory where the log files will be stored.
proto_loggerThe proto logger to log VISUALIZE protos
reduce_repetitionWhether logs should be merged whenever possible to reduce spam

The documentation for this class was generated from the following file: