Table of Contents

TDebugLogger Class

Logger implementation that outputs messages to the debug output (Windows OutputDebugString).

Remarks

Messages are formatted with a timestamp, log level, and the value's string representation. Only messages whose level is included in the configured TLogLevels set are output.

Syntax

Unit: Bcl.Logging

TDebugLogger = class(TInterfacedObject, ILogger);

Constructors

Name Description
Create Creates a new TDebugLogger that outputs messages for the specified log levels.