DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
LoggerFactory.h
Go to the documentation of this file.
1#pragma once
2#include "Common.h"
4
5
6namespace DotNetDupe {
7 namespace Extensions {
8 namespace Logging {
9
36
37 }
38 }
39}
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Represents a type used to configure the logging system and create instances of ILogger.
Definition ILogger.h:86
void AddProvider(const DotNetDupe::System::SmartPointer< ILoggerProvider > &pProvider) override
Adds an ILoggerProvider backend to the factory.
DotNetDupe::System::SmartPointer< ILogger > CreateLogger(const DotNetDupe::System::String &categoryName) override
Creates a new ILogger instance for the specified category.
LoggerFactory()
Initializes a new LoggerFactory instance.
~LoggerFactory() override
Virtual destructor cleaning up registered providers.
A unified smart pointer that supports both unique and shared ownership semantics.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74