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