|
|
|
| acThreadSafeLog component.
|
| type
|
| TacThreadSafeLogOption = (putTickStamp, putTimeStamp, putThreadID);
|
| TacThreadSafeLogOptions = set of TacThreadSafeLogOption;
|
|
|
| property Options: TacThreadSafeLogOptions;
|
| The Options property specifies which dynamic values should be stored to the log file as prefix before each line of logged text.
|
|
|
| There is 3 possible options/values which can be automatically put to the prefix before each line:
|
| Option | Description
|
| putTickStamp | puts the number of CPU ticks passed from the application startup;
|
| putTimeStamp | puts current date and time in format specified in the DateTimeFormat property;
|
| putThreadID | puts the identifier of the thread which called Log method.
|
|
|
| Alternatively, if you don't want to put standard values descibed in Options, you can use OnCustomPrefix event to specify your own prefix before each line of logged text.
|
| DateTimeFormat property and OnCustomPrefix event.
|