DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
ConsoleLoggerProvider.cpp
Go to the documentation of this file.
1#include "pch.h"
5
6namespace DotNetDupe {
7 namespace Extensions {
8 namespace Logging {
9
14
16 : m_config(config) {
18 }
19
22 m_config.IsJsonFormat = isJsonFormat;
23 m_config.MinLevel = minLevel;
24 }
25
33
34 }
35 }
36}
DotNetDupe::System::SmartPointer< ILogger > CreateLogger(const DotNetDupe::System::String &categoryName) override
Creates a new ConsoleLogger instance for the given category.
ConsoleLoggerProvider()
Initializes a new ConsoleLoggerProvider using default configuration.
Central thread-safe static registry and entry point for application logging.
Definition LogManager.h:18
A unified smart pointer that supports both unique and shared ownership semantics.
static SmartPointer< T > NewShared()
Creates a Shared SmartPointer, default constructing T.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
LogLevel
Defines logging severity levels.
Definition ILogger.h:15
Encapsulates logging system configuration options.