LogTypes (GVL)ΒΆ
Types / properties of a logger
- Attributes:
qualified_only- InOut:
Scope
Name
Type
Initial
Comment
Constant
LT_HIGHSPEED
UDINT16#1
Not supported yet
LT_SAFE
UDINT16#2
Not supported yet. Dump log entries in ring buffer residing in retain memory.
LT_NORMAL
UDINT16#4
Dump log entries in ring buffer residing in volatile memory (RAM)
LT_TIMESTAMP_RTC
UDINT16#10
Use realtime clock for the timestamp
LT_TIMESTAMP_RTC_HIGHRES
UDINT16#2000
Use real-time clock with high resolution [ms] for the timestamp
LT_TIMESTAMP_MS
UDINT16#20
Use millisecond ticks for the timestamp
LT_TIMESTAMP_US
UDINT16#40
Use microsecond ticks for the timestamp
LT_TIMESTAMP_NS
UDINT16#80
Use nanosecond ticks for the timestamp
LT_NO_DISABLE
UDINT16#100
If this option is set, the logger cannot be disabled
LT_DUMP_ASYNC
UDINT16#200
Dump asynchronously in the backends
LT_DUMP_ALWAYS
UDINT16#400
Dump into the backends at every log entry
LT_DUMP_ON_CLOSE
UDINT16#800
Dump only the backends at closing the logger
LT_DUMP_ON_REQUEST
UDINT16#1000
Dump can be done by calling LogDumpEntries()
LT_STD
UDINT(((LT_NORMAL OR LT_TIMESTAMP_RTC) OR LT_NO_DISABLE) OR LT_DUMP_ASYNC)
Standard logger settings