CppTrail
Loading...
Searching...
No Matches
base_logger.h File Reference

Core logging interfaces and high-level handle abstractions. More...

#include "cpptrail/message.h"
Include dependency graph for base_logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CppTrail::BasicLoggerImpl< char_t >
 Abstract template interface defining the mandatory contract for all loggers. More...
 
class  CppTrail::BasicLogger< char_t >
 A high-level handle for logging operations. More...
 

Namespaces

namespace  CppTrail
 Root namespace for the CppTrail logging library.
 

Typedefs

Logger Type Aliases

Standardized aliases for common character encodings.

using CppTrail::LoggerImpl = BasicLoggerImpl< char >
 Standard char-based logger (ASCII/UTF-8).
 
using CppTrail::wLoggerImpl = BasicLoggerImpl< wchar_t >
 Wide-character logger (Platform dependent, typically UTF-16 on Windows).
 
using CppTrail::u8LoggerImpl = BasicLoggerImpl< char8_t >
 Explicit UTF-8 logger using C++20 char8_t.
 
using CppTrail::u16LoggerImpl = BasicLoggerImpl< char16_t >
 UTF-16 logger using char16_t.
 
using CppTrail::u32LoggerImpl = BasicLoggerImpl< char32_t >
 UTF-32 logger using char32_t.
 
using CppTrail::Logger = BasicLogger< char >
 Standard char-based logger (ASCII/UTF-8).
 
using CppTrail::wLogger = BasicLogger< wchar_t >
 Wide-character logger (Platform dependent, typically UTF-16 on Windows).
 
using CppTrail::u8Logger = BasicLogger< char8_t >
 Explicit UTF-8 logger using C++20 char8_t.
 
using CppTrail::u16Logger = BasicLogger< char16_t >
 UTF-16 logger using char16_t.
 
using CppTrail::u32Logger = BasicLogger< char32_t >
 UTF-32 logger using char32_t.
 

Detailed Description

Core logging interfaces and high-level handle abstractions.

???

This header defines the structural backbone of CppTrail. It provides the BasicLoggerImpl abstract interface for concrete logger implementations and the BasicLogger handle class which utilizes the Bridge pattern to provide a thread-safe, RAII-compliant API for end-users.

Author
Dante Doménech Martínez
Author
Dante Doménech Martínez