Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

add support to change the prefix format #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dubyte
Copy link

@dubyte dubyte commented Mar 22, 2022

The prefix is hardcoded as "Debug: ", "Warn: " etc, with this PR that format is the same
but you can pass a prefixFormat wheren you can change for example how is printed.

default format: "%s: "
imagine an example: "level=%s "

so the line would looks like: " level=Debug "

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant