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

Quick Search    Search Deep

buildtools
Class Logger  view Logger download Logger.java

java.lang.Object
  extended bybuildtools.Logger

public class Logger
extends java.lang.Object


Field Summary
private  int level
           
private  java.lang.String PRODUCT
           
 
Constructor Summary
Logger(java.lang.String product)
           
 
Method Summary
 int getLevel()
          Get the current logging level
 void log(java.lang.String log)
          Log a message with the lowest level.
 void log(java.lang.String log, int level)
          Log a message with the specified level.
 void setLevel(int level)
          Set the current logging level
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

private int level

PRODUCT

private java.lang.String PRODUCT
Constructor Detail

Logger

public Logger(java.lang.String product)
Method Detail

log

public void log(java.lang.String log)
Log a message with the lowest level.


log

public void log(java.lang.String log,
                int level)
Log a message with the specified level.


setLevel

public void setLevel(int level)
Set the current logging level


getLevel

public int getLevel()
Get the current logging level