Table of Contents

ILoggerFactory.GetLogger Method

Creates or retrieves a logger associated with the specified name.

Syntax

Unit: Bcl.Logging

function ILoggerFactory.GetLogger(const Name: string): ILogger; virtual; abstract;

Parameters

<-> Parameter Type Description
const Name string The name to associate with the logger, typically a class or category name.

Returns

An ILogger instance for the given name.

See also