Api
The non-wildcard, fully specified, logging API for this logger. Fluent logger implementations should specify a non-wildcard API like this with which to generify the abstract logger.
It is possible to add methods to this logger-specific API directly, but it is recommended that a separate top-level API and LogContext is created, allowing it to be shared by other implementations.
Inherited functions
Link copied to clipboard
Modifies the current log statement to be emitted at most once per specified time period.
Link copied to clipboard
Terminal log statement when a message is not required.
Logs the given literal string without interpreting any argument placeholders.
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6, @Nullable() Object p7)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6, @Nullable() Object p7, @Nullable() Object p8)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6, @Nullable() Object p7, @Nullable() Object p8, @Nullable() Object p9)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6, @Nullable() Object p7, @Nullable() Object p8, @Nullable() Object p9, @Nullable() Object p10)
public abstract void log(String msg, @Nullable() Object p1, @Nullable() Object p2, @Nullable() Object p3, @Nullable() Object p4, @Nullable() Object p5, @Nullable() Object p6, @Nullable() Object p7, @Nullable() Object p8, @Nullable() Object p9, @Nullable() Object p10, Array<Object> rest)
Logs a message with formatted arguments (see log for details).
Logs a formatted representation of the given parameter, using the specified message template.
Link copied to clipboard
Logs a formatted representation of values in the given array, using the specified message template.
Link copied to clipboard
Modifies the current log statement to be emitted with likelihood 1 in
n.Link copied to clipboard
Aggregates stateful logging with respect to a scoped context determined by the given scope provider.
Aggregates stateful logging with respect to the given enum value.
public abstract API per<T>(@Nullable() @Nullable() T key, LogPerBucketingStrategy<? extends Object> strategy)
Aggregates stateful logging with respect to a given
key.Link copied to clipboard
Sets a boolean metadata key constant to
true for this log statement in a structured way that is accessible to logger backends.Associates a metadata key constant with a runtime value for this log statement in a structured way that is accessible to logger backends.
Link copied to clipboard
Sets the log site for the current log statement.
public abstract API withInjectedLogSite(String internalClassName, String methodName, int encodedLineNumber, @Nullable() @Nullable() String sourceFileName)
Internal method not for public use.
Link copied to clipboard
Creates a synthetic exception and attaches it as the "cause" of the log statement as a way to provide additional context for the logging call itself.