mCRL2
Loading...
Searching...
No Matches
mcrl2::log::formatter_interface Class Reference

#include <logger.h>

Inheritance diagram for mcrl2::log::formatter_interface:
mcrl2::log::formatter

Static Public Member Functions

static std::string format (const log_level_t level, const time_t timestamp, const std::string &msg, const bool print_time_information)
 Format msg,.
 

Detailed Description

Definition at line 249 of file logger.h.

Member Function Documentation

◆ format()

static std::string mcrl2::log::formatter_interface::format ( const log_level_t  level,
const time_t  timestamp,
const std::string &  msg,
const bool  print_time_information 
)
inlinestatic

Format msg,.

Parameters
[in]levelThe log level of the message
[in]timestampThe timestamp of the log message
[in]msgThe message to be formatted
[in]print_time_informationA boolean that if true indicates that time usage information must be printed. If false this information is suppressed.
Returns
The formatted message (msg)

suppress non used variable warnings.

Definition at line 259 of file logger.h.


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