ConstWrites a log entry if debug flag is set.
Note
When setting a debug flag from the command line, the
-dbgoption must be positioned before the name of the JavaScript file (as any other WinCC OA manager option).
Rest...data: unknown[]Writes a fatal error log entry. This also exits the WinCC OA manager.
Rest...data: unknown[]Writes an information log entry. console.log() and console.info() are mapped
to this method.
Rest...data: unknown[]Writes a severe error log entry. console.error() is mapped to this method.
Rest...data: unknown[]Writes a warning log entry. console.warn() is mapped to this method.
Rest...data: unknown[]
Convenience access to logging methods when no instance of WinccoaManager is available.
This is particularly useful for
log.debugF()andlog.fatal(), which don't have a corresponding method onconsole.