Table of Contents

TWrapperLogger Class

Logger that wraps another ILogger instance, allowing the inner logger to be swapped at runtime.

Remarks

Used internally by the log manager to allow transparent replacement of loggers when the logger factory is changed. All log calls are delegated to the wrapped Logger.

Syntax

Unit: Bcl.Logging

TWrapperLogger = class(TInterfacedObject, ILogger);

Properties

Name Description
Logger Gets or sets the inner logger that receives all delegated log calls.