Generates a log message with the debug
log level.
The format string that shall be logged.
The parameters of the format string.
Generates a log message with the error
log level.
The format string that shall be logged.
The parameters of the format string.
Generates a log message with the info
log level.
The format string that shall be logged.
The parameters of the format string.
Generates a log message with the warning
log level.
The format string that shall be logged.
The parameters of the format string.
Generated using TypeDoc
Introduction
The PiWeb variable extension API provides a logging interface. You can create log entries as error, warning, info or debug messages. Be aware that generating log messages has a significant performance impact.
import * as piweb from 'piweb'; import logger = piweb.logger; logger.debug("My log message");