Skip to content

Logs before configure finishes are lost #81

Description

@kernelwhisperer

Similar to #12, I cannot use top level await (running in electron), but I do have a file sink.

One workaround that I'm using right now is saving logs in an buffer array and once configure finishes flush those too and replace the buffered logger, but I would love a cleaner solution.

Any thoughts?

Perhaps logtape can work the same way, if you call the logs before it's configured it saves those into memory.

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

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions