LoggerPro (1.0)

A simple, pluggable and modern logging framework for Delphi

Class TLogWriter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TLogWriter = class(TInterfacedObject, ILogWriter)

Description

Hierarchy

  • TInterfacedObject
  • TLogWriter

Overview

Methods

Public function GetAppenders(const Index: Integer): ILogAppender;
Public function AppendersCount(): Integer;
Public constructor Create(aLogLevel: TLogType = TLogType.Debug); overload;
Public constructor Create(aLogAppenders: TLogAppenderList; aLogLevel: TLogType = TLogType.Debug); overload;
Public destructor Destroy; override;
Public procedure Debug(aMessage: string; aTag: string);
Public procedure DebugFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
Public procedure Info(aMessage: string; aTag: string);
Public procedure InfoFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
Public procedure Warn(aMessage: string; aTag: string);
Public procedure WarnFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
Public procedure Error(aMessage: string; aTag: string);
Public procedure ErrorFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
Public procedure Log(aType: TLogType; aMessage: string; aTag: string);
Public procedure LogFmt(aType: TLogType; aMessage: string; aParams: array of const; aTag: string);

Description

Methods

Public function GetAppenders(const Index: Integer): ILogAppender;
 
Public function AppendersCount(): Integer;
 
Public constructor Create(aLogLevel: TLogType = TLogType.Debug); overload;
 
Public constructor Create(aLogAppenders: TLogAppenderList; aLogLevel: TLogType = TLogType.Debug); overload;
 
Public destructor Destroy; override;
 
Public procedure Debug(aMessage: string; aTag: string);
 
Public procedure DebugFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
 
Public procedure Info(aMessage: string; aTag: string);
 
Public procedure InfoFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
 
Public procedure Warn(aMessage: string; aTag: string);
 
Public procedure WarnFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
 
Public procedure Error(aMessage: string; aTag: string);
 
Public procedure ErrorFmt(aMessage: string; aParams: array of TVarRec; aTag: string);
 
Public procedure Log(aType: TLogType; aMessage: string; aTag: string);
 
Public procedure LogFmt(aType: TLogType; aMessage: string; aParams: array of const; aTag: string);
 
Copyright 2016 Daniele Teti
Generated by PasDoc 0.14.0.