Lines Matching refs:Output
6 // with methods for formatting output. It also has a predefined 'standard'
45 // output to an io.Writer. Each logging operation makes a single call to
52 out io.Writer // destination for output
64 // SetOutput sets the output destination for the logger.
137 // Output writes the output for a logging event. The string s contains
143 func (l *Logger) Output(calldepth int, s string) error {
170 // Printf calls l.Output to print to the logger.
173 l.Output(2, fmt.Sprintf(format, v...))
176 // Print calls l.Output to print to the logger.
178 func (l *Logger) Print(v ...interface{}) { l.Output(2, fmt.Sprint(v...)) }
180 // Println calls l.Output to print to the logger.
182 func (l *Logger) Println(v ...interface{}) { l.Output(2, fmt.Sprintln(v...)) }
186 l.Output(2, fmt.Sprint(v...))
192 l.Output(2, fmt.Sprintf(format, v...))
198 l.Output(2, fmt.Sprintln(v...))
205 l.Output(2, s)
212 l.Output(2, s)
219 l.Output(2, s)
223 // Flags returns the output flags for the logger.
230 // SetFlags sets the output flags for the logger.
237 // Prefix returns the output prefix for the logger.
244 // SetPrefix sets the output prefix for the logger.
251 // SetOutput sets the output destination for the standard logger.
258 // Flags returns the output flags for the standard logger.
263 // SetFlags sets the output flags for the standard logger.
268 // Prefix returns the output prefix for the standard logger.
273 // SetPrefix sets the output prefix for the standard logger.
280 // Print calls Output to print to the standard logger.
283 std.Output(2, fmt.Sprint(v...))
286 // Printf calls Output to print to the standard logger.
289 std.Output(2, fmt.Sprintf(format, v...))
292 // Println calls Output to print to the standard logger.
295 std.Output(2, fmt.Sprintln(v...))
300 std.Output(2, fmt.Sprint(v...))
306 std.Output(2, fmt.Sprintf(format, v...))
312 std.Output(2, fmt.Sprintln(v...))
319 std.Output(2, s)
326 std.Output(2, s)
333 std.Output(2, s)
337 // Output writes the output for a logging event. The string s contains
343 // for the caller of Output.
344 func Output(calldepth int, s string) error {
345 return std.Output(calldepth+1, s) // +1 for this frame.