PureFSM
|
State machine logger with user-defined stream. More...
Public Member Functions | |
user_logger (std::ostream &stream) | |
Constructs user_logger with a stream given. | |
user_logger (user_logger const &other) | |
Constructs user_logger from a reference to another user_logger. | |
user_logger (user_logger &&other) | |
Constructs user_logger from another user_logger. | |
template<typename T > | |
void | write (const char *str) |
void | write (const char *str) |
State machine logger with user-defined stream.
In case if logs needs to be written to a file, and there is no possibility to redirect program standard or error stream, user can apply this logger.