ocssw
V2022
|
FileLogger
#include <File.hpp>
Inheritance diagram for FileLogger:
Collaboration diagram for FileLogger:
Public Member Functions | |
FileLogger (const std::string &filename, std::ios_base::openmode mode=std::ios_base::out) | |
~FileLogger () override | |
void | log (int severity, const std::string &s) override |
Public Member Functions inherited from LogFacility | |
virtual | ~LogFacility () |
virtual void | log (LogSeverity severity, const std::string &s) |
Detailed Description
Constructor & Destructor Documentation
◆ FileLogger()
|
inline |
◆ ~FileLogger()
|
override |
Clean-up destructor to flush and close file handle.
Member Function Documentation
◆ log()
|
overridevirtual |
Print a message to this log facility, with a given severity.
- Parameters
-
severity numeric severity level s message to log
Implements LogFacility.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/log/File.hpp