Documentation
¶
Overview ¶
Package logs writes visor's leveled log lines.
It exists because the beego rip rewrote every beego logs import to point here without anything being put here. Twenty-two call sites across autoscaler, billing, telemetry, task and controllers compiled against a package that was never written, so visor did not build at all — at any pin, for as long as the rewrite has been in the tree.
One shape: a format string and its arguments. beego's logs took an interface{} first argument and reached for Sprintf only when arguments followed, so logs.Info("failed: ", err) produced a line ending in %!(EXTRA *errors.errorString=…) rather than the error. Requiring a format makes that shape a compile-time fact instead of a runtime surprise.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.