LoggingConfiguration
Namespace: TcLogLib
Members
| Name | Type | Description |
|---|---|---|
| FileName | Tc2_System.T_MaxString | File name where the logs should be written to. Should not include path. |
| FilePath | Tc2_System.T_MaxString | File path where the logs should be written to. Will be prefixed to FileName |
| IncludeInstancePath | BOOL | Whether to include the instance path of TcLog into the log message or not. |
| WriteToAds | BOOL | Whether to write the logs to ADS output or not. |
| RollingInterval | TcLogLib.RollingIntervals | Rolling interval: when to create a new log file. |
| MinimumLevel | TcLogLib.LogLevels | What 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 | UINT | When should old log files be deleted? Unit: days. Set it to 0 if log files should never be deleted. |
| TimestampFormat | STRING | Format of timestamp. See TcLogCore.TimestampFormat for formatting options. |
| ValidTimestampsOnly | BOOL | Log only valid timestamps (skip log messages during time initialization (first few cycles) |
Configuration of TcLogCore