public class GwtLogAdapter extends com.google.gwt.dev.util.log.CompositeTreeLogger
| Constructor and Description |
|---|
GwtLogAdapter(LogService service,
com.google.gwt.core.ext.TreeLogger... children) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoggable(com.google.gwt.core.ext.TreeLogger.Type type)
Determines whether or not a log entry of the specified type would actually
be logged.
|
boolean |
isLogToChildren() |
void |
log(com.google.gwt.core.ext.TreeLogger.Type type,
String msg,
Throwable caught,
com.google.gwt.core.ext.TreeLogger.HelpInfo helpInfo)
Logs a message and/or an exception, with optional help info.
|
void |
setLogToChildren(boolean logToChildren) |
static LogLevel |
toLevel(com.google.gwt.core.ext.TreeLogger.Type type) |
branch, setAmountpublic GwtLogAdapter(LogService service, com.google.gwt.core.ext.TreeLogger... children)
public boolean isLoggable(com.google.gwt.core.ext.TreeLogger.Type type)
com.google.gwt.core.ext.TreeLoggerisLoggable in class com.google.gwt.dev.util.log.CompositeTreeLoggerpublic void log(com.google.gwt.core.ext.TreeLogger.Type type,
String msg,
Throwable caught,
com.google.gwt.core.ext.TreeLogger.HelpInfo helpInfo)
com.google.gwt.core.ext.TreeLoggernull arguments for both
msg and caught, in which case the log event
can be ignored. The info can provide extra information to
the logger; a logger may choose to ignore this info.log in class com.google.gwt.dev.util.log.CompositeTreeLoggermsg - an optional message to log, which can be null if
only an exception is being loggedcaught - an optional exception to log, which can be null
if only a message is being loggedhelpInfo - extra information that might be used by the logger to
provide extended information to the userpublic static LogLevel toLevel(com.google.gwt.core.ext.TreeLogger.Type type)
public boolean isLogToChildren()
public void setLogToChildren(boolean logToChildren)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.