Add global debug flags #207

Open
opened 1 year ago by 6543 · 4 comments
6543 commented 1 year ago
Collaborator
There is no content yet.
6543 added this to the v0.6.0 milestone 1 year ago
6543 added the
kind/proposal
label 1 year ago
Collaborator

Are you talking about exposing https://gitea.com/gitea/go-sdk/pulls/422 via a flag / build tag?
Or is there more to it?

Are you talking about exposing https://gitea.com/gitea/go-sdk/pulls/422 via a flag / build tag? Or is there more to it?
6543 commented 1 year ago
Poster
Collaborator

yes and more :) I'm actually thinking about how some unix comands handle -v,-vv and -vvv

v: Warning
v: Info
v: Info + SDK debug

yes and more :) I'm actually thinking about how some unix comands handle `-v`,`-vv` and `-vvv` **v**: Warning **v**: Info **v**: Info + SDK debug
noerw changed title from Add Debugg Mode to Add global debug flags 1 year ago
6543 self-assigned this 1 year ago
6543 commented 1 year ago
Poster
Collaborator

I propose three leves: INFO, DEBUG, TRACE

INFO: just be bit more verbose ... if tea decide something automaticay and so on ...
DEBUG: just print infos where they could be interesting
TRACE: DEBUG + gitea-client in debug mode

since our cli lib do not support [-v[vv]] we have to do [--verbose info|debug|trace]

I propose three leves: INFO, DEBUG, TRACE INFO: just be bit more verbose ... if tea decide something automaticay and so on ... DEBUG: just print infos where they could be interesting TRACE: DEBUG + gitea-client in debug mode since our cli lib do not support `[-v[vv]]` we have to do `[--verbose info|debug|trace]`
6543 modified the milestone from v0.6.0 to v0.7.0 1 year ago
Poster
Collaborator

I'll wait for https://gitea.com/gitea/go-sdk/issues/496 to make it work nicely ...

I'll wait for https://gitea.com/gitea/go-sdk/issues/496 to make it work nicely ...
6543 removed this from the v0.7.0 milestone 9 months ago
noerw added this to the v0.8.0 milestone 9 months ago
6543 modified the milestone from v0.8.0 to v0.9.0 4 months ago
noerw added the
upstream/sdk
label 2 months ago
Sign in to join this conversation.
Loading…
There is no content yet.