Compare commits
2 Commits
64c1cac4d2
...
main
Author | SHA1 | Date | |
---|---|---|---|
8e65f81d94 | |||
08cde7c372 |
@ -60,6 +60,10 @@ func FromContext(ctx context.Context) *slog.Logger {
|
|||||||
return Logger()
|
return Logger()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetLevel() string {
|
||||||
|
return level.String()
|
||||||
|
}
|
||||||
|
|
||||||
func HandlerOptions() *slog.HandlerOptions {
|
func HandlerOptions() *slog.HandlerOptions {
|
||||||
return &slog.HandlerOptions{
|
return &slog.HandlerOptions{
|
||||||
AddSource: source,
|
AddSource: source,
|
Reference in New Issue
Block a user