Class TBrookLoggerOutput
Unit
Declaration
type TBrookLoggerOutput = class abstract(TPersistent)
Description
Abstract class for logger output.
Hierarchy
- TObject
- TPersistent
- TBrookLoggerOutput
Overview
Methods
constructor Create(AFilters, AOptions: TStringList); virtual; |
|
class function GetRegisterAlias: string; virtual; |
|
class function GetName: string; virtual; abstract; |
|
function IsFiltered(const ALevel: string): Boolean; virtual; |
|
procedure Log(const ALevel, AMessage: string); virtual; abstract; |
|
procedure Fail(const ALevel: string; AException: Exception); virtual; abstract; |
Properties
property Filters: TStringList read FFilters; |
|
property Options: TStringList read FOptions; |
Description
Methods
constructor Create(AFilters, AOptions: TStringList); virtual; |
|
Creates an instance of Parameters |
class function GetRegisterAlias: string; virtual; |
|
Returns the alias name for output source. ReturnsOutput source alias. |
class function GetName: string; virtual; abstract; |
|
Returns the name for output source. ReturnsOutput source name. |
function IsFiltered(const ALevel: string): Boolean; virtual; |
|
Returns Parameters
|
procedure Log(const ALevel, AMessage: string); virtual; abstract; |
|
Appends a message to the output Parameters
|
procedure Fail(const ALevel: string; AException: Exception); virtual; abstract; |
|
Appends an exception message to the output log. Parameters |
Properties
property Filters: TStringList read FFilters; |
|
List containing the filtered log levels. |
property Options: TStringList read FOptions; |
|
List containing additional |
Generated by PasDoc 0.16.0.