![]() |
Diarkis C++Client Library API Document
|
Class to manage logging functions. More...
#include <LoggerFactory.h>


Public Member Functions | |
| LoggerFactory (const Diarkis::StdString &uid, std::shared_ptr< ILoggerBackend > loggerBackend) | |
| Constructor of LoggerFactory. More... | |
| virtual | ~LoggerFactory () |
| void | LogCryptoCredentials (const Diarkis::StdVector< uint8_t > &key, const Diarkis::StdVector< uint8_t > &iv, const Diarkis::StdVector< uint8_t > &macKey) |
| std::shared_ptr< IDiarkisLogger > | CreateLogger (const Diarkis::StdString &category) override |
| void | SetSeverity (DiarkisLoggerSeverity severity) |
| void | SetServerType (const Diarkis::StdString &type) |
| bool | SetSeverity (const Diarkis::StdString &category, DiarkisLoggerSeverity severity) |
| void | SetTraceOutputBytes (size_t bytes) |
| void | ClearLoggers () |
Class to manage logging functions.
You can specify the level of log output
| LoggerFactory::LoggerFactory | ( | const Diarkis::StdString & | uid, |
| std::shared_ptr< ILoggerBackend > | loggerBackend | ||
| ) |
Constructor of LoggerFactory.
|
virtual |
| void LoggerFactory::LogCryptoCredentials | ( | const Diarkis::StdVector< uint8_t > & | key, |
| const Diarkis::StdVector< uint8_t > & | iv, | ||
| const Diarkis::StdVector< uint8_t > & | macKey | ||
| ) |
|
overridevirtual |
Implements Diarkis::IDiarkisLoggerFactory.
| void LoggerFactory::SetSeverity | ( | DiarkisLoggerSeverity | severity | ) |
| void LoggerFactory::SetServerType | ( | const Diarkis::StdString & | type | ) |
| bool LoggerFactory::SetSeverity | ( | const Diarkis::StdString & | category, |
| DiarkisLoggerSeverity | severity | ||
| ) |
| void LoggerFactory::SetTraceOutputBytes | ( | size_t | bytes | ) |
| void LoggerFactory::ClearLoggers | ( | ) |