com.google.gwt.logging.impl
Class LoggerImplRegular

java.lang.Object
  extended by com.google.gwt.logging.impl.LoggerImplRegular
All Implemented Interfaces:
LoggerImpl

public class LoggerImplRegular
extends java.lang.Object
implements LoggerImpl

Implementation for the Logger class when logging is enabled.


Constructor Summary
LoggerImplRegular()
           
 
Method Summary
 void addHandler(java.util.logging.Handler handler)
           
 void config(java.lang.String msg)
           
 void fine(java.lang.String msg)
           
 void finer(java.lang.String msg)
           
 void finest(java.lang.String msg)
           
 java.util.logging.Handler[] getHandlers()
          Get the handlers attached to this logger.
 java.util.logging.Level getLevel()
           
 java.util.logging.Logger getLoggerHelper(java.lang.String name)
           
 java.lang.String getName()
           
 java.util.logging.Logger getParent()
           
 boolean getUseParentHandlers()
           
 void info(java.lang.String msg)
           
 boolean isLoggable(java.util.logging.Level messageLevel)
           
 void log(java.util.logging.Level level, java.lang.String msg)
           
 void log(java.util.logging.Level level, java.lang.String msg, java.lang.Throwable thrown)
           
 void log(java.util.logging.LogRecord record)
           
 void removeHandler(java.util.logging.Handler handler)
           
 void setLevel(java.util.logging.Level newLevel)
           
 void setName(java.lang.String newName)
           
 void setParent(java.util.logging.Logger newParent)
           
 void setUseParentHandlers(boolean newUseParentHandlers)
           
 void severe(java.lang.String msg)
           
 void warning(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerImplRegular

public LoggerImplRegular()
Method Detail

addHandler

public void addHandler(java.util.logging.Handler handler)
Specified by:
addHandler in interface LoggerImpl

config

public void config(java.lang.String msg)
Specified by:
config in interface LoggerImpl

fine

public void fine(java.lang.String msg)
Specified by:
fine in interface LoggerImpl

finer

public void finer(java.lang.String msg)
Specified by:
finer in interface LoggerImpl

finest

public void finest(java.lang.String msg)
Specified by:
finest in interface LoggerImpl

getHandlers

public java.util.logging.Handler[] getHandlers()
Description copied from interface: LoggerImpl
Get the handlers attached to this logger.

Specified by:
getHandlers in interface LoggerImpl
Returns:
the array of handlers, or null if there are no handlers

getLevel

public java.util.logging.Level getLevel()
Specified by:
getLevel in interface LoggerImpl

getLoggerHelper

public java.util.logging.Logger getLoggerHelper(java.lang.String name)
Specified by:
getLoggerHelper in interface LoggerImpl

getName

public java.lang.String getName()
Specified by:
getName in interface LoggerImpl

getParent

public java.util.logging.Logger getParent()
Specified by:
getParent in interface LoggerImpl

getUseParentHandlers

public boolean getUseParentHandlers()
Specified by:
getUseParentHandlers in interface LoggerImpl

info

public void info(java.lang.String msg)
Specified by:
info in interface LoggerImpl

isLoggable

public boolean isLoggable(java.util.logging.Level messageLevel)
Specified by:
isLoggable in interface LoggerImpl

log

public void log(java.util.logging.Level level,
                java.lang.String msg)
Specified by:
log in interface LoggerImpl

log

public void log(java.util.logging.Level level,
                java.lang.String msg,
                java.lang.Throwable thrown)
Specified by:
log in interface LoggerImpl

log

public void log(java.util.logging.LogRecord record)
Specified by:
log in interface LoggerImpl

removeHandler

public void removeHandler(java.util.logging.Handler handler)
Specified by:
removeHandler in interface LoggerImpl

setLevel

public void setLevel(java.util.logging.Level newLevel)
Specified by:
setLevel in interface LoggerImpl

setName

public void setName(java.lang.String newName)
Specified by:
setName in interface LoggerImpl

setParent

public void setParent(java.util.logging.Logger newParent)
Specified by:
setParent in interface LoggerImpl

setUseParentHandlers

public void setUseParentHandlers(boolean newUseParentHandlers)
Specified by:
setUseParentHandlers in interface LoggerImpl

severe

public void severe(java.lang.String msg)
Specified by:
severe in interface LoggerImpl

warning

public void warning(java.lang.String msg)
Specified by:
warning in interface LoggerImpl