}
// Flags returns the output flags for the logger.
+// The flag bits are Ldate, Ltime, and so on.
func (l *Logger) Flags() int {
l.mu.Lock()
defer l.mu.Unlock()
}
// SetFlags sets the output flags for the logger.
+// The flag bits are Ldate, Ltime, and so on.
func (l *Logger) SetFlags(flag int) {
l.mu.Lock()
defer l.mu.Unlock()
}
// Flags returns the output flags for the standard logger.
+// The flag bits are Ldate, Ltime, and so on.
func Flags() int {
return std.Flags()
}
// SetFlags sets the output flags for the standard logger.
+// The flag bits are Ldate, Ltime, and so on.
func SetFlags(flag int) {
std.SetFlags(flag)
}