vocascan / vocascan-server

Server for Vocascan
https://vocascan.com
Apache License 2.0
26 stars 5 forks source link

enable logger option #66

Closed luwol03 closed 2 years ago

luwol03 commented 2 years ago
Status Type Env Vars Change
:white_check_mark: Ready Feature Yes

Description

This PR adds a log.<name>.enable option which defines, if the logger is active. This is useful to disable the by default enabled console logger. (VOCASCAN__LOG__CONSOLE__ENABLE=false)

Documentation added in vocascan/documentation#10

Motivation and Context

It was a pain to configure the logger every time, and if i forgot, i never noticed it right away.

Screenshots / GIFs (if appropriate):

Checklist

Resolves