type Level … const _ … const Error … const Warning … const Info … const Debug … const Trace … // Log exports a log event labeled with level l. func (l Level) Log(ctx context.Context, msg string) { … } // Logf formats and exports a log event labeled with level l. func (l Level) Logf(ctx context.Context, format string, args ...interface{ … } // LabeledLevel extracts the labeled log l func LabeledLevel(lm label.Map) Level { … }