Classe TFilesLogs
Unit
Declaração
type TFilesLogs = class(TObjectsConsts)
Descrição
A classe
TFilesLogs
é usada para registrar no arquivo ParamStr(0)+'.log' as mensagens de Erros, Atenções e avisos do sistema.NOTA
A classe TObjectss implementa a constante global const TObjectss.Logs :
TFilesLogs
= nil; que é inicializado em mi.rtl.objectss.Initialization e destruído em mi.rtl.objectss.finalization
Hierarquia
- TObjectsTypes
- TObjectsConsts
- TFilesLogs
Visão Geral
Tipos Aninhados
![]() |
TLogType = eventlog.TLogType; |
Campos
![]() |
nested const EnableWriteIdentificao : Boolean = true; |
Métodos
![]() |
constructor Create(aowner:TComponent); Override; Overload; |
![]() |
destructor destroy; override; |
![]() |
procedure Warning( const Fmt: string;Args: array of Const); overload; |
![]() |
procedure Warning( const Msg: string ); overload; |
![]() |
procedure Error(const Fmt: String; Args: array of const); overload; |
![]() |
procedure Error(const Msg: String); overload; |
![]() |
procedure Info(const Fmt: String; Args: array of const); overload; |
![]() |
procedure Info(const Msg: String); overload; |
![]() |
Function _Write(Const S : AnsiString;Ln:Boolean):SmallInt; |
![]() |
Function Flush_WiteBuffer:Boolean; |
![]() |
Function WriteFErr_Ln_On_Off(Const S : AnsiString;aLn_On_Off:Boolean):SmallInt; |
![]() |
Function WriteFErr(Const S : AnsiString):SmallInt; |
![]() |
Function WriteLnFErr(Const S : AnsiString):SmallInt; |
![]() |
Procedure WriteIdentificao; |
![]() |
PROCEDURE LogError(const Fmt: String; Args: array of const); overload; |
![]() |
PROCEDURE LogError(CONST Msg:AnsiString ); overload; |
Propriedades
![]() |
property fileLog : TEventLog Read _fileLog; |
![]() |
property FileName : string read GetFileName write SetFileName; |
![]() |
property Active : Boolean Read GetActive write SetActive; |
![]() |
property LogType : TLogType Read GetLogtype Write SetlogType; |
![]() |
property AppendContent : Boolean Read GetAppendContent Write SetAppendContent; |
![]() |
property RaiseExceptionOnError : Boolean Read GetRaiseExceptionOnError Write SetRaiseExceptionOnError; |
Descrição
Tipos Aninhados
![]() |
TLogType = eventlog.TLogType; |
|
Campos
![]() |
nested const EnableWriteIdentificao : Boolean = true; |
Métodos
![]() |
constructor Create(aowner:TComponent); Override; Overload; |
O constructor |
![]() |
destructor destroy; override; |
![]() |
procedure Warning( const Fmt: string;Args: array of Const); overload; |
|
![]() |
procedure Warning( const Msg: string ); overload; |
|
![]() |
procedure Error(const Fmt: String; Args: array of const); overload; |
|
![]() |
procedure Error(const Msg: String); overload; |
|
![]() |
procedure Info(const Fmt: String; Args: array of const); overload; |
|
![]() |
Function _Write(Const S : AnsiString;Ln:Boolean):SmallInt; |
![]() |
Function Flush_WiteBuffer:Boolean; |
![]() |
Function WriteFErr_Ln_On_Off(Const S : AnsiString;aLn_On_Off:Boolean):SmallInt; |
![]() |
Function WriteFErr(Const S : AnsiString):SmallInt; |
![]() |
Function WriteLnFErr(Const S : AnsiString):SmallInt; |
![]() |
Procedure WriteIdentificao; |
![]() |
PROCEDURE LogError(const Fmt: String; Args: array of const); overload; |
![]() |
PROCEDURE LogError(CONST Msg:AnsiString ); overload; |
Propriedades
![]() |
property fileLog : TEventLog Read _fileLog; |
![]() |
property FileName : string read GetFileName write SetFileName; |
A propriedade |
![]() |
property Active : Boolean Read GetActive write SetActive; |
A propriedade |
![]() |
property LogType : TLogType Read GetLogtype Write SetlogType; |
|
Gerado por PasDoc 0.16.0.