Topic Path: Symbol Reference > Classes > TIdLogBase Class > TIdLogBase Properties > LogTime Property
TIdLogBase.LogTime Property

Indicates if log messages contain a date and timestamp.

property LogTime: Boolean;

LogTime is a Boolean property that indicates if log messages for the intercept should contain a date and timestamp value. LogTime is used in various methods in the class as a part of message formatting routines. 

When LogTime is True, messages written with the logging intercept will contain the current data and timestamp value when the message is written. When LogTime is False, the log message will contain only the text that reflects the action performed. 

The default value for LogTime is True, as assigned in Create.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.