- TIBCO BusinessEvents®
- Standard
- Log

# Log

## Description

Can be used to perform logging from rules/rule functions.

## Functions

Name | Signature and Synopsis
--- | ---
`getLevel` | `String getLevel(Object oLogger)` Get the log level of a given logger
`getLogger` | `Object getLogger(String loggerName)` Get a logger for use inside a rule/rulefunction.
`getName` | `String getName(Object oLogger)` Get the name of a given logger
`log` | `void log(Object logger, String logLevel, String message, Object... arguments)` Logs a message.
`logException` | `void logException(Object logger, String level, String message, BEException thrown, Object... arguments)` Logs a message with an exception.
`setLevel` | `void setLevel(Object oLogger, String logLevel)` Change the level of a given logger
`setLevelByName` | `void setLevelByName(String loggerNamePattern, String logLevel)` Change the level of all loggers matching the pattern