Voyager ORB

com.objectspace.lib.util
Class Console

java.lang.Object
  |
  +--com.objectspace.lib.util.Console

public class Console
extends java.lang.Object

Console is a general facility for logging information to the system console. Use setLogLevel() to select the appropriate amount of output.

Version:
3.0

Field Summary
static int EXCEPTIONS
          Display stack traces of remote exceptions and unhandled exceptions to the console.
static int SILENT
          Display no output to the console.
static int VERBOSE
          Display stack traces of remote exceptions, unhandled exceptions, and internal debug information to the console.
 
Method Summary
static void setLogLevel(int level)
          Send output to the console according to the specified log level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SILENT

public static final int SILENT
Display no output to the console.

EXCEPTIONS

public static final int EXCEPTIONS
Display stack traces of remote exceptions and unhandled exceptions to the console.

VERBOSE

public static final int VERBOSE
Display stack traces of remote exceptions, unhandled exceptions, and internal debug information to the console.
Method Detail

setLogLevel

public static void setLogLevel(int level)
Send output to the console according to the specified log level.
Parameters:
logLevel - SILENT..VERBOSE

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240