-
Notifications
You must be signed in to change notification settings - Fork 10
TjachLog_IsCached
Class: TjachLog
Declaration: property IsCached: Boolean read FIsCached write SetIsCached;
Set the IsCached property to True
to start caching log messages. When a log message is cached, it is not immediately written to the destinations, but kept in memory until the cache is written or cleared by calling the corresponding methods.
Set the IsCached property to False
to stop caching log messages. Make sure you write or clear the cache after setting this value to ensure no messages are kept in cache. The class does not write or clears the cache automatically when IsCache
is set to False to allow you to take the action that is right for your case.
For more information and examples read caching log messages
jump to: get started — multiple log destinations — units and classes — wiki home — blog (English) — blog (Spanish) — library home