OverviewSingleDeprecated

jsx3.app

class Monitor

Object
->jsx3.lang.Object
  ->jsx3.util.Logger.Handler
    ->jsx3.util.Logger.FormatHandler
      ->jsx3.app.Monitor

class Monitor
extends jsx3.util.Logger.FormatHandler
A logging handler that can be instantiated per JSX application and displays logging messages in a separate browser window while an application is running.

Since:

3.1

Constructor Summary
void
init(strName : String)
The instance initializer.
Method Summary
boolean
Returns whether this monitor remains invisible until the user types the hotkey ctrl+alt+m in the attached application.
boolean
Returns whether this monitor is disabled when its application is running inside the IDE.
String
Returns the server namespace of this monitor.
void
Writes the formatted logging message to a separate browser window if all relevant conditions are met.
void
setActivateOnHotKey(activateOnHotKey : boolean)
Sets whether this monitor waits for the hotkey ctrl+alt+m before becoming visible.
void
setDisableInIDE(disableInIDE : boolean)
Sets whether this monitor is disabled when its application is running inside the IDE.
void
setServerNamespace(serverNamespace : String)
Sets the server namespace of this monitor.
Methods Inherited From jsx3.util.Logger.FormatHandler
getFormat, setFormat
Methods Inherited From jsx3.util.Logger.Handler
getLevel, getName, isLoggable, setLevel
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(strName : String)
The instance initializer.

Parameters:

strName
Method Detail

getActivateOnHotKey

boolean getActivateOnHotKey()
Returns whether this monitor remains invisible until the user types the hotkey ctrl+alt+m in the attached application. If false this monitor will appear when the application is loaded and anytime the monitor is closed and a logging message is received.

Returns:

 

getDisableInIDE

boolean getDisableInIDE()
Returns whether this monitor is disabled when its application is running inside the IDE.

Returns:

 

getServerNamespace

String getServerNamespace()
Returns the server namespace of this monitor. When an application is created with a namespace equal to this value that application is attached to this monitor and the monitor becomes live.

Returns:

 

handle

void handle(objRecord : jsx3.util.Logger.Record)
Writes the formatted logging message to a separate browser window if all relevant conditions are met.

Parameters:

objRecord

Overrides:

handle in jsx3.util.Logger.Handler

setActivateOnHotKey

void setActivateOnHotKey(activateOnHotKey : boolean)
Sets whether this monitor waits for the hotkey ctrl+alt+m before becoming visible.

Parameters:

activateOnHotKey

setDisableInIDE

void setDisableInIDE(disableInIDE : boolean)
Sets whether this monitor is disabled when its application is running inside the IDE.

Parameters:

disableInIDE

setServerNamespace

void setServerNamespace(serverNamespace : String)
Sets the server namespace of this monitor.

Parameters:

serverNamespace