Skip to content

LogOutput callback #270

Description

@agentgt

A mistake was sort of made allowing one to access the LogOutput through the OutputRegistry.

What we really want is some sort of callback so that the appenders do locking.

<R> R LogOutputRegistry.withOutput(String outputName, Duration duration, Function<LogOutput, R> function) throws NastyExceptionsLikeTimeoutEtc;

When function is applied it will be within the appenders locks.

This is to help support #269

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions