Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartFlushDaemon: add API with more control over flushing #307

Merged
merged 1 commit into from Mar 16, 2022

Commits on Mar 16, 2022

  1. StartFlushDaemon: add API with more control over flushing

    Previously, periodic flushing was started automatically when writing to
    buffered files for the first time. When writing to a Logger which buffers
    internally, then using the same periodic flushing makes sense. In that case it
    has to be started explicitly.
    
    The new call grants the caller control over the flush interval. Kubernetes has
    a parameter for that.
    pohly committed Mar 16, 2022
    Copy the full SHA
    6684fc7 View commit details
    Browse the repository at this point in the history