woodpecker/cmd/agent
John Olheiser 03bb0e69d8
Replace debug with log-level flag (#440)
* Add logging level to CLI and API

Signed-off-by: jolheiser <john.olheiser@gmail.com>

# Conflicts:
#	server/router/router.go

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Refactor log level

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Remove API

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Fix API imports

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* do not relay on external default

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-16 17:41:36 -05:00
..
agent.go Replace debug with log-level flag (#440) 2021-10-16 17:41:36 -05:00
flags.go Replace debug with log-level flag (#440) 2021-10-16 17:41:36 -05:00
health.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
health_test.go Create agent/ package for backend agnostic logic (#338) 2021-09-23 16:58:12 +02:00
main.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
signal.go Fix channel buffer used with signal.Notify (#421) 2021-10-09 03:14:25 +02:00