feat: add json logger output (#1026)

* feat: add json logger output

This will allow to format log output as json.
This is helpful in cases where act is not executed on a 'local' machine.

* refactor: use runner config

Using the runner config to configure logging is cleaner.

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Markus Wolf
2022-03-14 16:33:11 +01:00
committed by GitHub
parent 7d403b8307
commit 14c98015c5
5 changed files with 70 additions and 31 deletions

View File

@@ -38,6 +38,7 @@ type Input struct {
autoRemove bool
artifactServerPath string
artifactServerPort string
jsonLogger bool
}
func (i *Input) resolve(path string) string {