sub timeout for fs init

This commit is contained in:
royalcat 2024-04-06 16:51:36 +03:00
parent c1003c3314
commit bcda69daad
5 changed files with 57 additions and 28 deletions
pkg/rlog

View file

@ -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))
}