This class write log messages in a file. More...
#include <log_stream.hpp>


Public Member Functions | |
| file_logger (const std::string &filename) | |
| Constructor. | |
| virtual | ~file_logger () |
| Destructor. | |
| virtual void | write (const std::string &str) |
| Write a string in the file. | |
| virtual void | flush () |
| Flush the stream. | |
Public Member Functions inherited from claw::log_stream | |
| virtual | ~log_stream () |
| Destructor. | |
Public Member Functions inherited from claw::pattern::non_copyable | |
| non_copyable () | |
| Default constructor. | |
This class write log messages in a file.
Definition at line 85 of file log_stream.hpp.
| claw::file_logger::file_logger | ( | const std::string & | filename | ) |
Constructor.
Definition at line 69 of file log_stream.cpp.
|
virtual |
Destructor.
Definition at line 77 of file log_stream.cpp.
|
virtual |
Flush the stream.
Reimplemented from claw::log_stream.
Definition at line 93 of file log_stream.cpp.
|
virtual |
Write a string in the file.
Implements claw::log_stream.
Definition at line 85 of file log_stream.cpp.