|
dxFeed Graal CXX API v9.0.0
|
A class of utility methods for managing the logging mechanism. More...
#include <Logging.hpp>
Public Types | |
| enum class | Level { ALL = 0 , TRACE , DEBUG , INFO , WARN , ERROR , OFF } |
| Defines a set of standard logging levels that can be used to control logging output. More... | |
Static Public Member Functions | |
| static std::string | levelToString (Level level) |
| Converts enum Level values to their string representation. | |
| static void | init (Level level=Level::OFF) |
| Initializes logging and sets the logging level. | |
| static void | init (StringParam logFile, Level logLevel=Level::INFO) |
| Initializes logging, sets the path to the logging file and the logging level. | |
| static void | init (StringParam logFile, StringParam errFile, Level logLevel=Level::INFO, Level errFileLevel=Level::WARN) |
| Initializes logging, sets the path to the file for logging, to the file for outputting errors and warnings, and sets the logging level for both files. | |
A class of utility methods for managing the logging mechanism.
|
strong |
Defines a set of standard logging levels that can be used to control logging output.
|
static |
Initializes logging and sets the logging level.
This is equivalent to the following code:
| level | The logging level. |
|
static |
Initializes logging, sets the path to the logging file and the logging level.
This is equivalent to the following code:
| logFile | The logging file. |
| logLevel | The logging level. |
|
static |
Initializes logging, sets the path to the file for logging, to the file for outputting errors and warnings, and sets the logging level for both files.
This is equivalent to the following code:
| logFile | The logging file. |
| errFile | The err file. |
| logLevel | The logging level. |
| errFileLevel | The err file logging level. |