![]() | Logger methods |
The Logger Type exposes the following members.
Name | Description of the | |
---|---|---|
![]() | Dispose |
Public method for cleaning up.
(Inherited from LoggerBase) |
![]() | Dispose(Boolean) |
This can be tidied up if necessary.
(Inherited from LoggerBase) |
![]() | Finalise |
Finaliser: is called by the GarbageCollector.
(Inherited from LoggerBase) |
![]() | Flush |
Ensures that all pending actions are executed.
e.g. filled intermediate tables (buffers)
are processed (flushed).
(Inherited from LoggerBase) |
![]() | HandleInfo |
Callback for logging the message: is created by the responsible InfoController
provided that you have registered in advance.
(Overwrites LoggerBaseHandleInfo(Object, InfoArgs)) |
![]() | Log |
Accepts an entry for logging.
Provides timer- or counter-controlled buffering of messages.
Does not log itself directly, but calls the method abstract defined here
WriteLog, in which the physical writing then takes place.
Flows the buffer asynchronously to improve logging performance.
(Inherited from LoggerBase) |
![]() | OrganiseLoggings |
Renames the log (DebugFile) after a defined period of time DebugFileArchivingInterval
and deletes logs (DebugFiles) that are older than DebugFileArchiveLifetime.
The calling process must take care of any locking of the debug file.
(Overwrites LoggerBaseOrganiseLoggings(TimeSpan, Int32)) |
![]() | Show |
Can be overwritten to display the log;
for text files, e.g. via output to the standard editor.
(Overwrites LoggerBaseShow) |
![]() | Stop |
Must be called at the end of processing to stop the timer.
(Inherited from LoggerBase) |
![]() | WriteLog |
Writes an entry to the log file, but is not recognised externally.
directly; instead, the logger must be called as a viewer via
enter its HandleInfoForLog method in the InfoController.
(Overwrites LoggerBaseWriteLog(String)) |