LogOptions (STRUCT)ΒΆ

TYPE LogOptions : STRUCT

Options of a logger (part of the configuration).

InOut:

Name

Type

Comment

szName

STRING(31)

Name of logger

bEnable

DINT

Logger active/inactive

uiType

UDINT

See LogTypes for details

uiFilter

UDINT

Log filter. It is a combination of LogClass

iMaxEntries

DINT

Maximum number of lg entries

iMaxFileSize

DINT

Max file size (if the backend is dumping in a file)

iMaxFiles

DINT

The MaxFiles setting and the iMaxFiles member of the LogOptions struct specify the maximum number of backup log files. So the maximum number of log files will be (MaxFiles + 1), MaxFiles backup log files + 1 working log file.