BlueCat Gateway uses two types of loggers:
app.logger
and g.user.logger
.
app.logger
- general-purpose loggerg.user.logger
- session-specific logger
Messages about the application are logged with app.logger
or the
general-purpose logger. This logger is particularly useful for the Gateway platform developers to log events that are happening while the
application is running, such as a raised exception.
Workflows execute in the context of a session. When building custom applications,
plugins, and workflows, developers should use g.user.logger
or the
session-specific logger to write log messages for events that occur during the
session.