Searched defs:textWriter (Results 1 – 2 of 2) sorted by relevance
70 type textWriter struct { struct71 ind int72 complete bool // if the current position is a complete line73 compact bool // whether to write out as a one-liner74 w writer77 func (w *textWriter) WriteString(s string) (n int, err error) {91 func (w *textWriter) Write(p []byte) (n int, err error) {140 func (w *textWriter) WriteByte(c byte) error {152 func (w *textWriter) indent() { w.ind++ }154 func (w *textWriter) unindent() {[all …]
41 public TextWriterLogger(TextWriter textWriter) : this(() => textWriter) in TextWriterLogger()