![]() | Logger |
The LoggerBase Type exposes the following members.
Name | Description of the | |
---|---|---|
![]() ![]() | CutLog(String, Int64, Boolean) | Shortens the log file 'logPath' to the last 'countItems' entries. The original log file is saved with the extension '.last'. If 'countLines' is false, the entries with the last 'countItems' remain date values, otherwise the last 'countItems' lines. |
![]() ![]() | CutLog(String, Int64, Int64, Boolean) | Shortens the log file 'logPath' to the last 'countItems' entries. The original log file is saved with the extension '.last'. If 'countLines' is false, the entries with the last 'countItems' remain date values, otherwise the last 'countItems' lines. |
![]() | Dispose | Public method for cleaning up. |
![]() | Dispose(Boolean) | This can be tidied up if necessary. |
![]() | Finalise |
Finaliser: is called by the GarbageCollector.
(Overwrites ObjectFinalise) |
![]() | Flush | Ensures that all pending actions are executed. e.g. filled intermediate tables (buffers) are processed (flushed). |
![]() | HandleInfo | Callback for logging the message: is created by the responsible InfoController provided that you have registered in advance. |
![]() | 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. |
![]() | OrganiseLoggings | Provides the option to clean up loggings. Does nothing itself, can be overwritten. |
![]() | Show | Can be overwritten to display the log; for text files, e.g. via output to the standard editor. |
![]() | Stop | Must be called at the end of processing to stop the timer. |
![]() | WriteLog | Writes an entry to the log file (or somewhere else), but is not recognised externally. directly; rather, the logger should be called as a viewer in the InfoController. |