Click or drag to resize

LoggerOrganiseLogging method

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.

Namespace: NetEti.ApplicationControl
Assembly: NetEti.Logging (in NetEti.Logging.dll) Version: 1.0.0+b865061c8026804ece26684b7dc3403284234a08
Syntax
protected override void OrganiseLoggings(
	
	TimeSpan debugArchivingInterval,
	
	int debugArchiveMaxCount
)

Parameters

debugArchivingInterval  TimeSpan
Time interval at which the current log (DebugFile) is saved and emptied under a name with a time specification.
debugArchiveMaxCount  Int32
Maximum lifetime of archived logs (DebugFiles). Older logs are deleted.
See also