LogClose (FUN)

FUNCTION LogClose : RTS_IEC_RESULT

<SIL2/> Close the logger

InOut:

Scope

Name

Type

Comment

Return

LogClose

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Input

hLogger

RTS_IEC_HANDLE

Handle to the logger which was retrieved by LogCreate() or LogOpen(). Use LogConstant.LOG_STD_LOGGER as a pseudo handle to add this log entry to the standard plc logger.