LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
File List
Here is a list of all files with brief descriptions:
[detail level 123456]
 ▼ docs
 adr
 ▼ examples
 example_logit_basic.cppDemonstrates the usage of the LogIt library with various data types and scenarios
 example_logit_compression.cppDemonstrates file log compression using gzip
 example_logit_custom_backend.cpp
 example_logit_customized.cpp
 example_logit_mdbx_logger.cppDemonstrates structured log storage with MdbxLogger, including macros, querying by date range, and reading sessions/payloads
 example_logit_mdc_ndc.cpp
 example_logit_memory_logger.cppDemonstrates in-memory snapshots, range reads, and live subscriptions
 example_logit_minimal_crash.cppMinimal LogIt++ setup that intentionally aborts after logging a fatal message
 example_logit_otlp_http.cpp
 example_logit_prometheus_payload.cpp
 example_logit_prometheus_server.cpp
 example_logit_queue_limit.cppShows how to limit the log queue size
 example_logit_short_macros.cpp
 example_logit_system_logger.cppDemonstrates usage of the cross-platform SystemLogger
 ▼ include
 ▼ logit_cpp
 ▼ logit
 ▼ detail
 CompressionUtils.hppShared gzip/zstd compression helpers used by OTLP and MDBX backends
 CompressionWorker.hppBackground worker that compresses rotated log files
 LogContext.hppThread-local Mapped Diagnostic Context (MDC) and Nested Diagnostic Context (NDC)
 LogStream.hppDefines the LogStream class for stream-like logging functionality
 MdbxByteIO.hppByte serialization helpers for MdbxLogger
 MdbxKeyUtils.hppKey encoding helpers for MdbxLogger record ordering
 MdbxProcessId.hppCross-platform current process id helper for MdbxLogger
 MpscRingAny.hpp
 QueuePolicy.hpp
 ScopeTimer.hppRAII timer that logs the duration of a scope
 SingleThreadExecutor.hppPer-instance single-thread executor for isolated async logging
 system_error_macros.hppInternal helpers shared by the system error logging macros
 TaskExecutor.hppTask executor used by asynchronous loggers
 ▼ formatter
 ▼ compiler
 PatternCompiler.hppHeader file for the pattern compiler used in log formatting
 ILogFormatter.hppDefines the interface for log formatters used in the logging system
 SimpleLogFormatter.hppDefines the SimpleLogFormatter class for formatting log messages according to a specified pattern or JSON format
 ▼ loggers
 ▼ ConsoleLogger
 ConsoleStreamRoute.hppLevel-based output stream routing for ConsoleLogger
 ▼ otlp
 OtlpCompressionType.hppCompression algorithm selected for OTLP/HTTP payloads
 OtlpJsonFormatConfig.hppDefines serialization-related configuration shared by OTLP loggers
 OtlpJsonSerializer.hppDefines OTLP/HTTP JSON serialization helpers for logs
 OtlpPayloadSplitter.hppSplits oversized OTLP log batches into multiple JSON payload chunks
 OtlpRecordSnapshot.hppDefines a stable snapshot of LogRecord data for asynchronous OTLP export
 ▼ prometheus
 PrometheusLoggerMetrics.hppShared built-in metrics state and serialization for Prometheus loggers
 PrometheusMetricBuilders.hppConvenience helpers for constructing Prometheus metric families and samples
 PrometheusRegistry.hppDeclarative registry for custom Prometheus application metrics
 PrometheusTextFormatConfig.hppDefines Prometheus text exposition format types and configuration
 PrometheusTextSerializer.hppPrometheus text exposition format serialization helpers
 ConsoleLogger.hppConsole logger implementation that outputs logs to the console with color support
 CrashLogger.hpp
 CrashPosixLogger.hppPOSIX crash logger persisting the last messages to a file descriptor
 CrashWindowsLogger.hpp
 EventLogLogger.hppLogger writing to Windows Event Log
 FileLogger.hppFile logger implementation that outputs logs to files with rotation and deletion of old logs
 ILogger.hppDefines the interface for loggers used in the logging system
 ILogReader.hppOptional read-only interface for log backends that support querying stored records
 ILogSubscriber.hppOptional live-subscription interface for log backends that can push newly written records
 MdbxLogger.hppMDBX structured log storage backend
 MemoryLogger.hppIn-memory logger backend that stores recent log snapshots
 OtlpHttpLogger.hppOTLP/HTTP logger backend for exporting logs to OpenTelemetry collectors
 OtlpPayloadLogger.hppOTLP payload callback logger backend for exporting logs via user-provided callback
 PrometheusHttpServerLogger.hppPrometheus HTTP server logger backend exposing /metrics endpoint
 PrometheusPayloadLogger.hppPrometheus text payload callback logger backend
 SyslogLogger.hppLogger writing to system syslog
 SystemLogger.hppDefines alias to platform system logger
 UniqueFileLogger.hppLogger that writes each log message to a unique file with auto-deletion of old logs
 WindowsDebugLogger.hppLogger that writes to the Windows debug output (OutputDebugStringW) or stderr on other platforms
 ▼ utils
 argument_utils.hppFunctions for working with arguments and converting them to value arrays
 BufferedLogEntry.hppStructured snapshot entry used by in-memory log buffers
 encoding_utils.hppUtilities for working with character encodings and string transformations
 format.hppFunction for formatting strings according to a specified format
 LogFileInfo.hppPublic DTO that describes a persisted log file exposed by a file-based backend
 LogFileReadResult.hppPublic DTO that contains a persisted log-file read result
 LogRecord.hppContains the definition of the LogRecord structure for storing log data
 path_utils.hppUtility functions for path manipulation, including relative path computation
 tag_utils.hppHelpers for log tag formatting
 VariableValue.hppStructure for storing variables of various types
 config.hppConfiguration macros for the LogIt logging system
 enums.hppEnumerations and utility functions for logging levels and text colors
 formatter.hppAggregates the formatter subsystem for convenient inclusion
 log_macros.hppProvides various logging macros for different log levels and options
 Logger.hppDefines the Logger class for managing multiple loggers and formatters
 loggers.hppAggregates all public logger backends
 utils.hppAggregates the public utilities module
 logit.hppUnified umbrella header for the LogIt++ library