sub timeout for fs init
This commit is contained in:
parent
c1003c3314
commit
bcda69daad
5 changed files with 57 additions and 28 deletions
pkg/rlog
|
@ -34,10 +34,6 @@ func ComponentLog(name string) *slog.Logger {
|
|||
return defaultLogger.With(slog.String("component", name))
|
||||
}
|
||||
|
||||
func ServiceLog(name string) *slog.Logger {
|
||||
return ComponentLog("service/" + name)
|
||||
}
|
||||
|
||||
func FunctionLog(log *slog.Logger, name string) *slog.Logger {
|
||||
return log.With(slog.String("function", name))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue