LOGGER - The logger implementation from which this context is produced.API - The logging api supported by this context.@CheckReturnValue public abstract class GoogleLogContext<LOGGER extends com.google.common.flogger.AbstractLogger<API>,API extends GoogleLoggingApi<API>> extends com.google.common.flogger.LogContext<LOGGER,API> implements GoogleLoggingApi<API>
com.google.common.flogger.LogContext.KeyGoogleLoggingApi.NoOp<API extends GoogleLoggingApi<API>>| Modifier | Constructor and Description |
|---|---|
protected |
GoogleLogContext(java.util.logging.Level level,
boolean isForced)
Creates a logging context for the GoogleLoggerApi.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.flogger.parser.MessageParser |
getMessageParser() |
addMetadata, api, atMostEvery, every, getArguments, getLevel, getLiteralArgument, getLogger, getLoggerName, getLogSite, getMetadata, getTemplateContext, getTimestampMicros, getTimestampNanos, isEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logVarargs, noOp, postProcess, removeMetadata, wasForced, with, withCause, withInjectedLogSite, withInjectedLogSite, withStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitatMostEvery, every, isEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logVarargs, with, withCause, withInjectedLogSite, withInjectedLogSite, withStackTraceprotected GoogleLogContext(java.util.logging.Level level,
boolean isForced)
level - the log level of this log statement.isForced - whether the log statement should be forced.protected final com.google.common.flogger.parser.MessageParser getMessageParser()
getMessageParser in class com.google.common.flogger.LogContext<LOGGER extends com.google.common.flogger.AbstractLogger<API>,API extends GoogleLoggingApi<API>>