LoggerPro (1.0)A simple, pluggable and modern logging framework for Delphi
Interface ILogAppender
Unit
LoggerPro
Declaration
type ILogAppender = interface(IInterface)
Description
Interface implemented by all the classes used as appenders
Attributes
- GUID['{58AFB557-C594-4A4B-8DC9-0F13B37F60CB}']
Hierarchy
Overview
Methods
Description
Methods
|
procedure Setup; |
This method is internally called by LoggerPro to initialize the appender
|
|
procedure WriteLog(const aLogItem: TLogItem); |
This method is called at each log item represented by TLogItem
The appender should be as-fast-as-it-can to handle the message, however each appender runs in a separated thread.
|
|
procedure TearDown; |
This method is internally called by LoggerPro to deinitialize the appender
|
|
procedure SetEnabled(const Value: Boolean); |
(Enable or disable the log appender. Is used internally by LoggerPro but must be implemented by each logappender. A simple if enabled then dolog is enough
|
|
function IsEnabled: Boolean; |
(Returns if the logappender is currently enabled or not.
|
|
procedure SetLogLevel(const Value: TLogType); |
(Set a custom log level for this appender. This value must be lower than the global LogWriter log level.
|
|
function GetLogLevel: TLogType; |
(Get the loglevel for the appender.
|
Copyright 2016 Daniele Teti
Generated by PasDoc 0.14.0.
|