public class LoggingHandlerConfigurator extends Object implements com.google.gwt.core.client.EntryPoint
ErraiSystemLogHandler
: Prints to terminal in Dev Mode.ErraiConsoleLogHandler
: Logs to web console.ErraiDevelopmentModeLogHandler
: Logs to Dev Mode window.ErraiSimpleFormatter
to format
output.Constructor and Description |
---|
LoggingHandlerConfigurator() |
Modifier and Type | Method and Description |
---|---|
static LoggingHandlerConfigurator |
get() |
<H extends ErraiLogHandler> |
getHandler(Class<H> handlerType)
Get the top-level Errai log handlers.
|
void |
onModuleLoad() |
public void onModuleLoad()
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
public static LoggingHandlerConfigurator get()
LoggingHandlerConfigurator
.public <H extends ErraiLogHandler> H getHandler(Class<H> handlerType)
Level
or Formatter
of a handler.handlerType
- The type of an ErraiLogHandler
.Handler
of the requested type.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.