BBjspLogger::logIfOption (Deprecated)

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

Description

In BBj 17.0 and higher, this method writes to the defined logging output if the named option was set.

Syntax

Return Value

Method

void

logIfOption(string optionName, string message)

Parameters

Variable

Description

message

the message to log

optionName

the name of the option

Return Value

None.

Remarks

None.

Example

declare BBjspLogger rootLogger!

rootLogger! = BBjspLogManager.getLogger("root")

rootLogger!.logIfOption("debug","This is a debug message")

See Also

BBJSP

Logging

BBjspLogManager