BBjspLogger (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 17.0 and higher, this class provides logging to BBJSP applications. create BBjJettyContext::getLogger()

Creation

BBjspLogManager > BBjspLogger

The BBjspLogger is created through the following BBjspLogManager methods:

Return Value

Method

BBjspLogger

getLogger()

BBjspLogger

getLogger(string contextName)

Methods of BBjspLogger

Return Value

Method

void

log(string message)

void

logIfOption(string optionName, string message)

Remarks

BBjspLogger instances are available within each BBjJettyContext via the BBjJettyContext::getLogger() method or by the factory method BBjspLogManager::getLogger(String).
Loggers are configurable

Example

declare
BBjspLogger rootLogger!

rootLogger! = BBjspLogManager.getLogger("root")

rootLogger!.log("This is a test")

See Also

BBJSP

Logging

BBjspLogManager