Errai 3.0.1-SNAPSHOT

org.jboss.errai.common.client.logging.handlers
Class ErraiConsoleLogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.google.gwt.logging.client.ConsoleLogHandler
          extended by 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

Constructor Summary
ErraiConsoleLogHandler()
           
ErraiConsoleLogHandler(Formatter formatter)
           
 
Method Summary
 Level getLevel()
           
 boolean isEnabled()
           
 void setLevel(Level newLevel)
           
static String staticGetLevel()
           
static void staticSetLevel(String newLevel)
           
 
Methods inherited from class com.google.gwt.logging.client.ConsoleLogHandler
close, flush, publish
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErraiConsoleLogHandler

public ErraiConsoleLogHandler(Formatter formatter)

ErraiConsoleLogHandler

public ErraiConsoleLogHandler()
Method Detail

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()

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.