Closed pancsta closed 2 months ago
For quicker logging, am.EnvLogLevel("") returns am.LogLevel from eg AM_LOG=3.
am.EnvLogLevel("")
am.LogLevel
AM_LOG=3
mach := am.New(nil, am.Struct{ "Foo": {Requires: "Bar"}, "Bar": {}, }, &am.Opts{ LogLevel: am.EnvLogLevel(""), })
For quicker logging,
am.EnvLogLevel("")
returnsam.LogLevel
from egAM_LOG=3
.