diff --git a/log.go b/log.go index 6a5151f..e22b24b 100644 --- a/log.go +++ b/log.go @@ -81,3 +81,9 @@ func Fatalf(s string, a ...any) { func Fatal(s string, a ...any) { origlog.Fatalf(s, a...) } + +// register a variable name from a subsystem +// this is used for custom log flags +func Register(subsystem string, name string) { + Info("log.Register() got subsystem", subsystem, "with name =", name) +}