Include file:
#include "mcrl2/utilities/logger.h
mcrl2::log::
file_output
¶File output class.
Provides facilities to output to a file. By default output is sent to stderr.
hint_to_stream
()¶Map hints to streams This allows messages with different hints to be written to different output streams.
get_stream
(const std::string &hint)¶Gets a stream handle for hint.
Parameters:
file_output
()¶output
(const log_level_t level, const std::string &hint, const time_t timestamp, const std::string &msg, const bool print_time_information)This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Output message to stream.
Parameters:
Note
This uses fprintf (and not e.g. <<) because fprintf is guaranteed to be atomic.
~file_output
()¶