Closed gabyx closed 3 months ago
@mruz : this is your feature. A value GITHOOKS_LOG_LEVEL=disable
somewhere will disable the log during runner execution and anybody can then set it to GITHOOKS_LOG_LEVEL=
or GITHOOKS_LOG_LEVEL=info
to enable more logs.
The default behavior is info
. I did not put that into a Git config variable because the Git config is parsed after the log is created and it makes things a bit more complicated.
@mruz : can yo review this PR thanks.
debug
,info
,warn
,error
ordisable
can be set in env. variableGITHOOKS_LOG_LEVEL
to set the log level during runner execution.