org.jboss.errai.common.client.logging.handlers
Class ErraiConsoleLogHandler
java.lang.Object
java.util.logging.Handler
com.google.gwt.logging.client.ConsoleLogHandler
org.jboss.errai.common.client.logging.handlers.ErraiConsoleLogHandler
- All Implemented Interfaces:
- ErraiLogHandler
public class ErraiConsoleLogHandler
- extends com.google.gwt.logging.client.ConsoleLogHandler
- implements ErraiLogHandler
An extension of ConsoleLogHandler
that uses a given Formatter
.
- Author:
- Max Barkley
Methods inherited from class com.google.gwt.logging.client.ConsoleLogHandler |
close, flush, publish |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErraiConsoleLogHandler
public ErraiConsoleLogHandler(Formatter formatter)
ErraiConsoleLogHandler
public ErraiConsoleLogHandler()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface ErraiLogHandler
setLevel
public void setLevel(Level newLevel)
- Specified by:
setLevel
in interface ErraiLogHandler
- Overrides:
setLevel
in class Handler
getLevel
public Level getLevel()
- Specified by:
getLevel
in interface ErraiLogHandler
- Overrides:
getLevel
in class Handler
staticSetLevel
public static void staticSetLevel(String newLevel)
staticGetLevel
public static String staticGetLevel()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.