OverviewSingleDeprecated

jsx3.util

class Logger.Record

Object
->jsx3.lang.Object
  ->jsx3.util.Logger.Record

class Logger.Record
extends jsx3.lang.Object
Record bean that stores information about a logging message.

Constructor Summary
void
init(strMessage : String, arrParams : Array<Object>, intLevel : int, strLogger : String, arrStack : Function | Array<Function>, objError : jsx3.lang.Exception)
Instance initializer.
Method Summary
Date
Returns the current date when this record was created.
jsx3.lang.Exception
Returns the exception that this record was created with.
Function
Returns the JavaScript function that called the Logger message that created this record.
int
Returns the logging level that this record was created with.
String
Returns the name of the logger that created this record.
String
Returns the raw message of this record.
Array<Object>
Returns the message parameters of this record.
int
Returns this record's serial number.
Array<Function>
Returns the complete JavaScript stack from when this record was created.
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf, toString
Constructor Detail

init

void init(strMessage : String, arrParams : Array<Object>, intLevel : int, strLogger : String, arrStack : Function | Array<Function>, objError : jsx3.lang.Exception)
Instance initializer.

Parameters:

strMessage
arrParams
intLevel
strLogger
arrStack
objError
Method Detail

getDate

Date getDate()
Returns the current date when this record was created.

Returns:

 

getError

jsx3.lang.Exception getError()
Returns the exception that this record was created with. Will only be defined if this record was created through a call to Logger.logError() or similar.

Returns:

 

getFunction

Function getFunction()
Returns the JavaScript function that called the Logger message that created this record.

Returns:

 

getLevel

int getLevel()
Returns the logging level that this record was created with.

Returns:

 

getLoggerName

String getLoggerName()
Returns the name of the logger that created this record.

Returns:

 

getMessage

String getMessage()
Returns the raw message of this record.

Returns:

 

getParameters

Array<Object> getParameters()
Returns the message parameters of this record.

Returns:

 

getSerial

int getSerial()
Returns this record's serial number. Every record that is created is assigned a serial number, beginning with 1.

Returns:

 

getStack

Array<Function> getStack()
Returns the complete JavaScript stack from when this record was created. May be null or empty if the record was not specified to store the stack.

Returns: