net.noco.dtogen.log
Class Java14Logger

java.lang.Object
  extended bynet.noco.dtogen.log.Java14Logger
All Implemented Interfaces:
ILog

public class Java14Logger
extends java.lang.Object
implements ILog

Class usage XXX

Version:
$Revision: 1.59 $

Field Summary
private  java.util.logging.Logger logger
           
 
Fields inherited from interface net.noco.dtogen.log.ILog
DEBUG, ERROR, INFO, WARN
 
Constructor Summary
Java14Logger(java.util.logging.Logger log)
           
 
Method Summary
 void debug(java.lang.String msg)
           
 void debug(java.lang.String msg, java.lang.Throwable cause)
           
 void error(java.lang.String msg)
           
 void error(java.lang.String msg, java.lang.Throwable cause)
           
private  java.util.logging.Level getLevel(int level)
           
 void info(java.lang.String msg)
           
 void info(java.lang.String msg, java.lang.Throwable cause)
           
 ILog setLogLevel(int level)
           
 void warn(java.lang.String msg)
           
 void warn(java.lang.String msg, java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private java.util.logging.Logger logger
Constructor Detail

Java14Logger

public Java14Logger(java.util.logging.Logger log)
Method Detail

debug

public void debug(java.lang.String msg)
Specified by:
debug in interface ILog
See Also:
ILog.debug(java.lang.String)

debug

public void debug(java.lang.String msg,
                  java.lang.Throwable cause)
Specified by:
debug in interface ILog
See Also:
ILog.debug(java.lang.String, java.lang.Throwable)

info

public void info(java.lang.String msg)
Specified by:
info in interface ILog
See Also:
ILog.info(java.lang.String)

info

public void info(java.lang.String msg,
                 java.lang.Throwable cause)
Specified by:
info in interface ILog
See Also:
ILog.info(java.lang.String, java.lang.Throwable)

warn

public void warn(java.lang.String msg)
Specified by:
warn in interface ILog
See Also:
ILog.warn(java.lang.String)

warn

public void warn(java.lang.String msg,
                 java.lang.Throwable cause)
Specified by:
warn in interface ILog
See Also:
ILog.warn(java.lang.String, java.lang.Throwable)

error

public void error(java.lang.String msg)
Specified by:
error in interface ILog
See Also:
ILog.error(java.lang.String)

error

public void error(java.lang.String msg,
                  java.lang.Throwable cause)
Specified by:
error in interface ILog
See Also:
ILog.error(java.lang.String, java.lang.Throwable)

setLogLevel

public ILog setLogLevel(int level)
Specified by:
setLogLevel in interface ILog
See Also:
ILog.setLogLevel(int)

getLevel

private java.util.logging.Level getLevel(int level)


Copyright © 2004 Alexandru Popescu (a.k.a. the_mindstorm). All Rights Reserved.