"

2013 FRC Java API

"

com.sun.squawk.debugger
Class Log

java.lang.Object
  extended by com.sun.squawk.debugger.Log

public class Log
extends Object

This class provides a (very basic) line-based logging facility.


Field Summary
static int DEBUG
          Log level used to debug problems (very verbose).
static int INFO
          Informational log level.
static int level
          The current logging level.
static int NONE
          Disables logging.
static PrintStream out
          Where messages are logged.
static int VERBOSE
          More verbose log level.
 
Method Summary
static boolean debug()
           
static boolean info()
           
static void log(String msg)
          Logs a message as a line sent to the current logging stream.
static boolean verbose()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
Disables logging.

See Also:
Constant Field Values

INFO

public static final int INFO
Informational log level.

See Also:
Constant Field Values

VERBOSE

public static final int VERBOSE
More verbose log level.

See Also:
Constant Field Values

DEBUG

public static final int DEBUG
Log level used to debug problems (very verbose).

See Also:
Constant Field Values

level

public static final int level
The current logging level.


out

public static final PrintStream out
Where messages are logged.

Method Detail

info

public static boolean info()

verbose

public static boolean verbose()

debug

public static boolean debug()
Returns:
true if level >= DEBUG

log

public static void log(String msg)
Logs a message as a line sent to the current logging stream.

Parameters:
msg - the message to log

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"