Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.squawk.debugger
Class Log

    java.lang.Object
      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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"