Skip to content

Added %D for 24-hour time and buffering to let Print() based logging …#2

Open
Dekker3D wants to merge 1 commit intowildstarnasa:masterfrom
Dekker3D:master
Open

Added %D for 24-hour time and buffering to let Print() based logging …#2
Dekker3D wants to merge 1 commit intowildstarnasa:masterfrom
Dekker3D:master

Conversation

@Dekker3D
Copy link
Copy Markdown

…work before everything is loaded properly.

This seemed necessary to me, to make this an improvement to my own logging code. Figured I'd make a pull request in case anyone is still watching this.

@coding-red-panda
Copy link
Copy Markdown

Is there a way to toggle the setting on whether to use buffering or not?
Couldn't directly see how to enable it once you clear the buffer

@Dekker3D
Copy link
Copy Markdown
Author

It's not supposed to be used once you clear the buffer, the buffer only exists to bypass the problem with Print() swallowing messages when the chat isn't ready yet. I could probably make the GeminiConsole appender ignore the buffer if it can find GeminiConsole though.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants