log.Logger.flag (field)
14 uses
log (current package)
log.go#L55: flag int // properties
log.go#L66: return &Logger{out: out, prefix: prefix, flag: flag}
log.go#L104: if l.flag&Lmsgprefix == 0 {
log.go#L107: if l.flag&(Ldate|Ltime|Lmicroseconds) != 0 {
log.go#L108: if l.flag&LUTC != 0 {
log.go#L111: if l.flag&Ldate != 0 {
log.go#L120: if l.flag&(Ltime|Lmicroseconds) != 0 {
log.go#L127: if l.flag&Lmicroseconds != 0 {
log.go#L134: if l.flag&(Lshortfile|Llongfile) != 0 {
log.go#L135: if l.flag&Lshortfile != 0 {
log.go#L150: if l.flag&Lmsgprefix != 0 {
log.go#L167: if l.flag&(Lshortfile|Llongfile) != 0 {
log.go#L246: return l.flag
log.go#L254: l.flag = flag
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |