LoggerPro (1.0)A simple, pluggable and modern logging framework for Delphi
Class TLogItem
Unit
LoggerPro
Declaration
type TLogItem = class sealed(TObject)
Description
Represent the single log item
Each call to some kind of log method is wrapped in a TLogItem instance and passed down the layour of LoggerPro.
Hierarchy
Overview
Methods
|
constructor Create(aType: TLogType; aMessage: string; aTag: string); overload; |
|
constructor Create(aType: TLogType; aMessage: string; aTag: string; aTimeStamp: TDateTime; aThreadID: Cardinal); overload; |
|
function Clone: TLogItem; |
Properties
Description
Methods
|
constructor Create(aType: TLogType; aMessage: string; aTag: string); overload; |
|
|
constructor Create(aType: TLogType; aMessage: string; aTag: string; aTimeStamp: TDateTime; aThreadID: Cardinal); overload; |
|
Properties
|
property LogType: TLogType read FType; |
The type of the log
Log can be one of the following types:
|
|
property LogMessage: string read FMessage; |
The text of the log message
|
|
property LogTag: string read FTag; |
The tag of the log message
|
|
property TimeStamp: TDateTime read FTimeStamp; |
The timestamp when the TLogItem is generated
|
|
property ThreadID: Cardinal read FThreadID; |
The IDof the thread which generated the log item
|
|
property LogTypeAsString: string read GetLogTypeAsString; |
The type of the log converted in string
|
Copyright 2016 Daniele Teti
Generated by PasDoc 0.14.0.
|