BBjspLogManager::getLogger (Deprecated)

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

Description

In BBj 17.0 and higher, this method returns an instance of a BBjspLogger associated with the specified context.

Syntax

Return Value

Method

BBjspLogger

getLogger(string contextName)

Parameters

Variable

Description

contextName

the name of the BBJSP context

Return Value

the BBjspLogger associated by the specified context.

Remarks

.

Example

declare
BBjspLogger rootLogger!

rootLogger! = BBjspLogManager.getLogger("root")

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

See Also

BBJSP

Logging

BBjspLogger