Commit graph

10 commits

Author SHA1 Message Date
Carlos Alexandro Becker
817c4bd446
fix: lint issues (#909)
* fix: some of the lint issues

* fix: staticcheck
2025-05-30 10:34:31 -03:00
Carlos Alexandro Becker
1ffe8b7e70
feat(log): support setting minimum log level with GUM_LOG_LEVEL (#723)
closes #490
2024-11-18 14:02:55 -03:00
camcui
a0f96abea4
Replace custom strings with constants from the standard library (#537) 2024-04-26 11:40:18 -04:00
Maas Lalani
01a66511a1
Hide Style Flags consistently (#457)
* refactor: hide style flags on error to not clutter usage

* docs(style): add comment regarding dynamically hiding flags
2023-11-28 14:17:57 -05:00
Ayman Bagabas
504a2060b2
fix(log): use log default colors 2023-11-08 12:12:06 -05:00
Ayman Bagabas
7bae4c8fcb
fix(log): default info level color
https://github.com/charmbracelet/log/blob/main/styles.go#L67
2023-11-08 12:09:50 -05:00
Maas Lalani
bf3864e231
Log predefined time formats (#452)
* feat: allow predefined time formats

* refactor(log): use time format constants

* feat(log): time format flag -> time flag

* docs: add formats to help
2023-11-08 12:03:49 -05:00
Maas Lalani
055aa0d791
feat(log): add short flags 2023-11-08 11:10:58 -05:00
Ayman Bagabas
86dbd9c70f
fix: add missing import 2023-11-08 10:44:36 -05:00
Ayman Bagabas
7d51fd8b73
feat: add log command (#449)
* feat: add log command

* fix: lint

* refactor: remove switch

* fix: use one level style embed

* fix(log): lint

* Update log/command.go

Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-11-08 10:43:50 -05:00