ScopeList

public final class ScopeList

Lightweight internal helper class for context implementations to manage a list of scopes.

Constructors

Link copied to clipboard
public void ScopedLoggingContext.ScopeList(ScopeType key, LoggingScope scope, @Nullable() @Nullable() ScopedLoggingContext.ScopeList next)

Functions

Link copied to clipboard
@Nullable()
public static @Nullable() ScopedLoggingContext.ScopeList addScope(@Nullable() @Nullable() ScopedLoggingContext.ScopeList list, @Nullable() @Nullable() ScopeType type)
Adds a new scope to the list for the given type.
Link copied to clipboard
@Nullable()
public static @Nullable() LoggingScope lookup(@Nullable() @Nullable() ScopedLoggingContext.ScopeList list, ScopeType type)
Finds a scope instance for the given type in a possibly null scope list.