Binary Logger Singleton.
More...
#include <BinaryLogger.hpp>
◆ BinaryLogger() [1/2]
nc::logger::BinaryLogger::BinaryLogger |
( |
const BinaryLogger & |
| ) |
|
|
delete |
◆ BinaryLogger() [2/2]
◆ getInstance()
static BinaryLogger & nc::logger::BinaryLogger::getInstance |
( |
| ) |
|
|
inlinestaticnoexcept |
Singleton instance getter.
- Returns
- : singleton instance of BinaryLogger
◆ getTypeLogger()
template<typename DataType >
Gets the logger instance for the specific data type.
- Returns
- data type logger instance
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setOutputDir() [1/2]
void nc::logger::BinaryLogger::setOutputDir |
( |
const std::filesystem::path & |
outputDir | ) |
|
|
inline |
Sets the output directory. This should be called BEFORE any type loggers have been created, and will NOT reset the output directory afterwards!
- Parameters
-
outputDir | the output directory |
◆ setOutputDir() [2/2]
void nc::logger::BinaryLogger::setOutputDir |
( |
std::string_view |
outputDir | ) |
|
|
inline |
Sets the output directory. This should be called BEFORE any type loggers have been created, and will NOT reset the output directory afterwards!
- Parameters
-
outputDir | the output directory |
The documentation for this class was generated from the following file: