Package-level declarations

Flogger is a fluent API for writing log messages.

This package is a part of the open-source Flogger library.

Types

Link copied to clipboard
public abstract class AbstractLogger<API extends LoggingApi<API>>
Base class for the fluent logger API.
Link copied to clipboard
public final class FluentLogger2 extends AbstractLogger<API>
The default implementation of AbstractLogger which returns the basic LoggingApi and uses the default parser and system configured backend.
Link copied to clipboard
public interface LazyArg<T>
Functional interface for allowing lazily evaluated arguments to be supplied to Flogger.
Link copied to clipboard
public final class LazyArgs
Static utility methods for lazy argument evaluation in Flogger.
Link copied to clipboard
public abstract class LogContext<LOGGER extends AbstractLogger<API>, API extends LoggingApi<API>> implements LoggingApi<API>, LogData
The base context for a logging statement, which implements the base logging API.
Link copied to clipboard
public interface LoggingApi<API extends LoggingApi<API>>
The basic logging API.
Link copied to clipboard
public abstract class LoggingScope
An opaque scope marker which can be attached to log sites to provide "per scope" behaviour for stateful logging operations (e.g.
Link copied to clipboard
public interface LoggingScopeProvider
Provides a scope to a log statement via the per method.
Link copied to clipboard
public abstract class LogPerBucketingStrategy<T>
Provides a strategy for "bucketing" a potentially unbounded set of log aggregation keys used by the <> method.
Link copied to clipboard
public abstract class LogSite implements LogSiteKey
A value type which representing the location of a single log statement.
Link copied to clipboard
public interface LogSiteKey
A tagging interface to mark implementations that are suitable for use as a key for looking up per log site persistent state.
Link copied to clipboard
public abstract class LogSiteMap<V>
Provides per log site state for stateful fluent logging operations (e.g.
Link copied to clipboard
public final class LogSites
Helper class to generate log sites for the current line of code.
Link copied to clipboard
public final class LogSiteStackTrace extends Exception
A synthetic exception which can be attached to log statements when additional stack trace information is required in log files or via tools such as ECatcher.
Link copied to clipboard
public class MetadataKey<T>
Key for logging semi-structured metadata values.
Link copied to clipboard
public abstract class RateLimitStatus
Status for rate limiting operations, usable by rate limiters and available to subclasses of LogContext to handle rate limiting consistently.
Link copied to clipboard
public enum StackSize
Enum values to be passed into withStackTrace to control the maximum number of stack trace elements created.