Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet.support
Class Logger  view Logger download Logger.java

java.lang.Object
  extended byFreenet.support.Logger

public class Logger
extends java.lang.Object


Field Summary
static int DEBUG
           
static int DEBUGGING
          An occurance which would only be of interest during debugging
private static java.text.DateFormat df
           
static int ERROR
          This message indicates an error which prevents correct functionality
static java.io.PrintStream Lout
          The stream to which the log should be sent
static int MINOR
          A minor occurance that wouldn't normally be of interest
static int NORMAL
          A normal level occurance
static java.lang.String terminator
           
static int threshold
           
static int verbosity
           
 
Constructor Summary
Logger()
           
 
Method Summary
static void log(java.lang.String filename, java.lang.String message, int priority)
          Log a message
static void logto(java.io.OutputStream stream)
           
static void logto(java.io.PrintStream stream)
           
static void logto(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Lout

public static java.io.PrintStream Lout
The stream to which the log should be sent


ERROR

public static int ERROR
This message indicates an error which prevents correct functionality


NORMAL

public static int NORMAL
A normal level occurance


MINOR

public static int MINOR
A minor occurance that wouldn't normally be of interest


DEBUGGING

public static int DEBUGGING
An occurance which would only be of interest during debugging


DEBUG

public static int DEBUG

threshold

public static int threshold

verbosity

public static int verbosity

terminator

public static java.lang.String terminator

df

private static java.text.DateFormat df
Constructor Detail

Logger

public Logger()
Method Detail

log

public static void log(java.lang.String filename,
                       java.lang.String message,
                       int priority)
Log a message


logto

public static void logto(java.lang.String filename)
                  throws java.io.IOException

logto

public static void logto(java.io.OutputStream stream)
                  throws java.io.IOException

logto

public static void logto(java.io.PrintStream stream)
                  throws java.io.IOException