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

Add options to log.Init to change format and possible other options #42

Open
burmudar opened this issue Sep 27, 2022 · 0 comments
Open
Assignees

Comments

@burmudar
Copy link
Contributor

burmudar commented Sep 27, 2022

There is a need to provide a options to the logger through something else besides environment variables.

@eseliger For instance wants to be able to change the format depending on whether the tool is executing with a TTY available.

Should this be “development mode” or could we expose that as an option in log.Init to say humanInterface or something like that? Feels a bit more generic than SRC_DEVELOPMENT and I could make it dependent on IS_TTY for my use-case

@burmudar burmudar self-assigned this Sep 27, 2022
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

No branches or pull requests

1 participant