ocssw
V2022
|
#include <FormattedFile.hpp>
Public Member Functions | |
FormattedFileLogger (const std::string &filename, const std::string &format, map_of_functions named_functions={}, vector_of_functions numbered_functions={}) | |
FormattedFileLogger (const std::string &filename, std::ios_base::openmode mode, const std::string &format, map_of_functions named_functions={}, vector_of_functions numbered_functions={}) | |
~FormattedFileLogger () override | |
![]() | |
FormattedStreamLogger (const std::string &format, map_of_functions named_functions={}, vector_of_functions numbered_functions={}, std::ostream &stream=std::cout) | |
FormattedStreamLogger (const std::string &format, std::ostream &stream) | |
~FormattedStreamLogger () override | |
void | log (int severity, const std::string &s) override |
![]() | |
virtual | ~LogFacility () |
virtual void | log (LogSeverity severity, const std::string &s) |
Detailed Description
Log facility for printing to a file, allowing text to be generated around messages.
For the detailed description of the format parameter, see the documentation for focs::FormattedStreamLogger.
Definition at line 20 of file FormattedFile.hpp.
Constructor & Destructor Documentation
◆ FormattedFileLogger() [1/2]
|
inline |
Create a new log facility without external function calls.
- Parameters
-
filename string with which to format messages format string with which to format messages named_functions map of functions referred to by the format string numbered_functions vector of functions referred to by the format string
Definition at line 36 of file FormattedFile.hpp.
◆ FormattedFileLogger() [2/2]
|
inline |
Create a new log facility without external function calls.
- Parameters
-
filename string with which to format messages mode file mode to use when opening the file format string with which to format messages named_functions map of functions referred to by the format string numbered_functions vector of functions referred to by the format string
Definition at line 47 of file FormattedFile.hpp.
◆ ~FormattedFileLogger()
|
inlineoverride |
Definition at line 50 of file FormattedFile.hpp.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/log/FormattedFile.hpp