Add options to `log.Init` to change format and possible other options
Open
@burmudar is already working on this.
Since Sep 27, 2022.
- Dominant language
- Go
- Stars
- 13
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.