A B C D E F G H I L S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBackend - Class in com.google.common.flogger.backend.system
-
Common backend to handle everything except formatting of log message and metadata.
- AbstractBackend(String) - Constructor for class com.google.common.flogger.backend.system.AbstractBackend
-
Constructs an abstract backend for the given class name.
- AbstractLogRecord - Class in com.google.common.flogger.backend.system
-
Abstract base class for
java.util.loggingcompatible log records produced by Flogger backends. - AbstractLogRecord(LogData, Metadata) - Constructor for class com.google.common.flogger.backend.system.AbstractLogRecord
-
Constructs a log record for normal logging without filling in format specific fields.
- AbstractLogRecord(RuntimeException, LogData, Metadata) - Constructor for class com.google.common.flogger.backend.system.AbstractLogRecord
-
Constructs a log record in response to an exception during a previous logging attempt.
- appendFormattedMessageTo(StringBuilder) - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Appends the formatted log message to the given buffer.
B
- BackendFactory - Class in com.google.common.flogger.backend.system
-
An API to create logger backends for a given class name.
- BackendFactory() - Constructor for class com.google.common.flogger.backend.system.BackendFactory
C
- Clock - Class in com.google.common.flogger.backend.system
-
A clock to return walltime timestamps for log statements.
- Clock() - Constructor for class com.google.common.flogger.backend.system.Clock
- com.google.common.flogger.backend.system - package com.google.common.flogger.backend.system
- create(LogData) - Static method in class com.google.common.flogger.backend.system.SimpleLogRecord
-
Deprecated.Use create(LogData data, Metadata scope) and pass scoped metadata in.
- create(LogData, Metadata) - Static method in class com.google.common.flogger.backend.system.SimpleLogRecord
-
Creates a
SimpleLogRecordfor a normal log statement from the given data. - create(String) - Method in class com.google.common.flogger.backend.system.BackendFactory
-
Creates a logger backend of the given class name for use by a Fluent Logger.
- create(String) - Method in class com.google.common.flogger.backend.system.SimpleBackendFactory
D
- DefaultPlatform - Class in com.google.common.flogger.backend.system
-
The default fluent logger platform for a server-side Java environment.
- DefaultPlatform() - Constructor for class com.google.common.flogger.backend.system.DefaultPlatform
E
- error(RuntimeException, LogData) - Static method in class com.google.common.flogger.backend.system.SimpleLogRecord
-
Deprecated.Use error(LogData data, Metadata scope) and pass scoped metadata in.
- error(RuntimeException, LogData, Metadata) - Static method in class com.google.common.flogger.backend.system.SimpleLogRecord
-
Creates a
SimpleLogRecordin the case of an error during logging.
F
- findLoggingClass(Class<? extends AbstractLogger<?>>) - Method in class com.google.common.flogger.backend.system.StackBasedCallerFinder
- findLogSite(Class<?>, int) - Method in class com.google.common.flogger.backend.system.StackBasedCallerFinder
G
- getBackendImpl(String) - Method in class com.google.common.flogger.backend.system.DefaultPlatform
- getCallerFinderImpl() - Method in class com.google.common.flogger.backend.system.DefaultPlatform
- getConfigInfoImpl() - Method in class com.google.common.flogger.backend.system.DefaultPlatform
- getContextApiSingleton() - Method in class com.google.common.flogger.backend.system.LoggingContext
-
Deprecated.
- getContextDataProviderImpl() - Method in class com.google.common.flogger.backend.system.DefaultPlatform
- getCurrentTimeNanos() - Method in class com.google.common.flogger.backend.system.Clock
-
Returns the current time from the epoch (00:00 1st Jan, 1970) with nanosecond granularity, though not necessarily nanosecond precision.
- getCurrentTimeNanos() - Method in class com.google.common.flogger.backend.system.SystemClock
- getCurrentTimeNanosImpl() - Method in class com.google.common.flogger.backend.system.DefaultPlatform
- getFormattedMessage() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Returns the formatted log message, caching the result in the common case.
- getInstance() - Static method in class com.google.common.flogger.backend.system.SimpleBackendFactory
- getInstance() - Static method in class com.google.common.flogger.backend.system.StackBasedCallerFinder
- getInstance() - Static method in class com.google.common.flogger.backend.system.SystemClock
- getLogData() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Returns the
LogDatainstance encapsulating the current fluent log statement. - getLoggerName() - Method in class com.google.common.flogger.backend.system.AbstractBackend
- getLogMessageFormatter() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Returns the formatter used when formatting
LogData. - getMessage() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- getMetadataProcessor() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Returns the immutable
MetadataProcessorwhich provides a unified view of scope and log site metadata.
H
- handleError(RuntimeException, LogData) - Method in class com.google.common.flogger.backend.system.SimpleLoggerBackend
I
- isLoggable(Level) - Method in class com.google.common.flogger.backend.system.AbstractBackend
L
- log(LogData) - Method in class com.google.common.flogger.backend.system.SimpleLoggerBackend
- log(LogRecord, boolean) - Method in class com.google.common.flogger.backend.system.AbstractBackend
-
Logs the given record using this backend.
- LoggingContext - Class in com.google.common.flogger.backend.system
-
Deprecated.Replaced by ContextDataProvider.
- LoggingContext() - Constructor for class com.google.common.flogger.backend.system.LoggingContext
-
Deprecated.
S
- setMessage(String) - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- setParameters(Object[]) - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- setResourceBundle(ResourceBundle) - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- setResourceBundleName(String) - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- SimpleBackendFactory - Class in com.google.common.flogger.backend.system
-
Default factory for creating logger backends.
- SimpleLoggerBackend - Class in com.google.common.flogger.backend.system
-
A logging backend that uses the
java.util.loggingclasses to output log statements. - SimpleLoggerBackend(Logger) - Constructor for class com.google.common.flogger.backend.system.SimpleLoggerBackend
- SimpleLogRecord - Class in com.google.common.flogger.backend.system
-
An eagerly evaluating
LogRecordwhich is created by the Fluent Logger frontend and can be passed to a normal logHandlerinstance for output. - StackBasedCallerFinder - Class in com.google.common.flogger.backend.system
-
Default caller finder implementation which should work on all recent Java releases.
- SystemClock - Class in com.google.common.flogger.backend.system
-
Default millisecond precision clock.
T
- toMutableLogRecord() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
-
Returns a snapshot of this log record, copied and flattened to a plain, mutable
LogRecordinstance. - toString() - Method in class com.google.common.flogger.backend.system.AbstractLogRecord
- toString() - Method in class com.google.common.flogger.backend.system.SimpleBackendFactory
- toString() - Method in class com.google.common.flogger.backend.system.StackBasedCallerFinder
- toString() - Method in class com.google.common.flogger.backend.system.SystemClock
All Classes All Packages