com.allen_sauer.gwt.log.server
Class ServerLogImplStdio

java.lang.Object
  extended by com.allen_sauer.gwt.log.server.ServerLogImplStdio
All Implemented Interfaces:
ServerLog

public final class ServerLogImplStdio
extends java.lang.Object
implements ServerLog


Constructor Summary
ServerLogImplStdio()
           
 
Method Summary
 int getCurrentLogLevel()
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isLoggingEnabled()
           
 boolean isTraceEnabled()
           
 boolean isWarnEnabled()
           
 void log(LogRecord record)
           
 int mapGWTLogLevelToImplLevel(int gwtLogLevel)
           
 void setCurrentImplLogLevel(int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerLogImplStdio

public ServerLogImplStdio()
Method Detail

getCurrentLogLevel

public int getCurrentLogLevel()
Specified by:
getCurrentLogLevel in interface ServerLog

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface ServerLog

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface ServerLog

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface ServerLog

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface ServerLog

isLoggingEnabled

public boolean isLoggingEnabled()
Specified by:
isLoggingEnabled in interface ServerLog

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface ServerLog

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface ServerLog

log

public void log(LogRecord record)
Specified by:
log in interface ServerLog

mapGWTLogLevelToImplLevel

public int mapGWTLogLevelToImplLevel(int gwtLogLevel)
Specified by:
mapGWTLogLevelToImplLevel in interface ServerLog

setCurrentImplLogLevel

public void setCurrentImplLogLevel(int level)
Specified by:
setCurrentImplLogLevel in interface ServerLog