type textFactory … var _ … func (f textFactory) Feature() featuregate.Feature { … } func (f textFactory) Create(c LoggingConfiguration, o LoggingOptions) (logr.Logger, RuntimeControl) { … } type klogMsgRouter … var _ … // Write redirects the message into either the info or error // stream, depending on its type as indicated in text format // by the first byte. func (r *klogMsgRouter) Write(p []byte) (int, error) { … } type bufferedWriter … func newBufferedWriter(out io.Writer, size int) *bufferedWriter { … } func (b *bufferedWriter) Write(p []byte) (int, error) { … } func (b *bufferedWriter) Flush() { … }