LoggingConfiguration
- Namespace
- TcLogLib
Configuration of TcLogCore
Members
FileName
Tc2_System.T_MaxStringFile name where the logs should be written to. Should not include path.
FilePath
Tc2_System.T_MaxStringFile path where the logs should be written to. Will be prefixed to
FileName
IncludeInstancePath
BOOLWhether to include the instance path of TcLog into the log message or not.
WriteToAds
BOOLWhether to write the logs to ADS output or not.
RollingInterval
RollingIntervalsRolling interval: when to create a new log file.
MinimumLevel
LogLevelsWhat is the minimum log level that gets logged?
Delimiter
STRING(1)Which delimiter should be used between the different parts of the log string?
LogFileLifespan
UINTWhen should old log files be deleted? Unit: days. Set it to
0
if log files should never be deleted.TimestampFormat
STRINGFormat of timestamp. See
TcLogCore.TimestampFormat
for formatting options.ValidTimestampsOnly
BOOLLog only valid timestamps (skip log messages during time initialization (first few cycles)