MCPcopy Create free account

hub / github.com/siddontang/go-log / functions

Functions102 in github.com/siddontang/go-log

↓ 42 callersMethodOutput
Output records the log with special callstack depth and log level.
log/logger.go:137
↓ 7 callersMethodClose
()
log/handler.go:10
↓ 6 callersMethodWrite
(p []byte)
log/handler.go:9
↓ 4 callersMethodFatal
(args ...interface{})
loggers/loggers.go:27
↓ 4 callersMethodOutputJson
Output json format records the log with special callstack depth and log level.
log/logger.go:191
↓ 3 callersMethodWrite
Write implements Handler interface
log/filehandler.go:86
↓ 2 callersMethodErrorf
(format string, args ...interface{})
loggers/loggers.go:49
↓ 2 callersFunctionNewDefault
NewDefault creates default logger with specified handler and flag: Ltime|Lfile|Llevel
log/logger.go:94
↓ 2 callersFunctionNewStreamHandler
NewStreamHandler creates a StreamHandler
log/handler.go:19
↓ 2 callersMethodSetLevel
SetLevel sets log level, any log level less than it will not log
log/logger.go:111
↓ 2 callersMethodString
String returns level String
log/logger.go:42
↓ 1 callersMethodClose
Close implements Handler interface
log/filehandler.go:94
↓ 1 callersFunctionInfo
Info records the log with info level
log/log.go:125
↓ 1 callersMethodInfo
(args ...interface{})
loggers/loggers.go:52
↓ 1 callersFunctionNew
New creates a logger with specified handler and flag
log/logger.go:76
↓ 1 callersFunctionNewRotatingFileHandler
NewRotatingFileHandler creates a RotatingFileHandler
log/filehandler.go:56
↓ 1 callersFunctionPanic
Panic records the log with fatal level and panics
log/log.go:44
↓ 1 callersMethodSetLevelByName
SetLevelByName sets log level by name
log/logger.go:116
↓ 1 callersMethoddoRollover
()
log/filehandler.go:101
↓ 1 callersMethoddoRollover
()
log/filehandler.go:203
↓ 1 callersFunctionnewStdHandler
()
log/logger.go:98
MethodClose
Close implements Handler interface
log/filehandler.go:38
MethodClose
Close implements Handler interface
log/filehandler.go:228
MethodClose
Close implements Handler interface
log/handler.go:33
MethodClose
Close implements Handler interface
log/handler.go:52
MethodClose
Close closes the logger
log/logger.go:104
FunctionDebug
Debug records the log with debug level
log/log.go:85
MethodDebug
Debug records the log with debug level
log/logger.go:301
MethodDebug
(args ...interface{})
loggers/loggers.go:44
FunctionDebugJson
Debug records the log with debug level
log/log.go:90
FunctionDebugf
Debugf records the log with debug level
log/log.go:95
MethodDebugf
Debugf records the log with debug level
log/logger.go:306
MethodDebugf
(format string, args ...interface{})
loggers/loggers.go:45
FunctionDebugln
Debugln records the log with debug level
log/log.go:100
MethodDebugln
Debugln records the log with debug level
log/logger.go:311
MethodDebugln
(args ...interface{})
loggers/loggers.go:46
FunctionError
Error records the log with error level
log/log.go:105
MethodError
Error records the log with error level
log/logger.go:316
MethodError
(args ...interface{})
loggers/loggers.go:48
FunctionErrorJson
Error records the log with error level
log/log.go:110
FunctionErrorf
Errorf records the log with error level
log/log.go:115
MethodErrorf
Errorf records the log with error level
log/logger.go:321
FunctionErrorln
Errorln records the log with error level
log/log.go:120
MethodErrorln
Errorln records the log with error level
log/logger.go:326
MethodErrorln
(args ...interface{})
loggers/loggers.go:50
FunctionFatal
Fatal records the log with fatal level and exits
log/log.go:26
MethodFatal
Fatal records the log with fatal level and exits
log/logger.go:247
FunctionFatalf
Fatalf records the log with fatal level and exits
log/log.go:32
MethodFatalf
Fatalf records the log with fatal level and exits
log/logger.go:253
MethodFatalf
(format string, args ...interface{})
loggers/loggers.go:28
FunctionFatalln
Fatalln records the log with fatal level and exits
log/log.go:38
MethodFatalln
Fatalln records the log with fatal level and exits
log/logger.go:259
MethodFatalln
(args ...interface{})
loggers/loggers.go:29
MethodInfo
Info records the log with info level
log/logger.go:331
FunctionInfoJson
Info records the log with info level by json format
log/log.go:130
FunctionInfof
Infof records the log with info level
log/log.go:135
MethodInfof
Infof records the log with info level
log/logger.go:336
MethodInfof
(format string, args ...interface{})
loggers/loggers.go:53
FunctionInfoln
Infoln records the log with info level
log/log.go:140
MethodInfoln
Infoln records the log with info level
log/logger.go:341
MethodInfoln
(args ...interface{})
loggers/loggers.go:54
FunctionNewFileHandler
NewFileHandler creates a FileHander
log/filehandler.go:16
FunctionNewNullHandler
NewNullHandler creates a NullHandler
log/handler.go:42
FunctionNewTimeRotatingFileHandler
NewTimeRotatingFileHandler creates a TimeRotatingFileHandler
log/filehandler.go:164
MethodPanic
Panic records the log with fatal level and panics
log/logger.go:265
MethodPanic
(args ...interface{})
loggers/loggers.go:31
FunctionPanicf
Panicf records the log with fatal level and panics
log/log.go:51
MethodPanicf
Panicf records the log with fatal level and panics
log/logger.go:272
MethodPanicf
(format string, args ...interface{})
loggers/loggers.go:32
FunctionPanicln
Panicln records the log with fatal level and panics
log/log.go:58
MethodPanicln
Panicln records the log with fatal level and panics
log/logger.go:279
MethodPanicln
(args ...interface{})
loggers/loggers.go:33
FunctionPrint
Print records the log with trace level
log/log.go:65
MethodPrint
Print records the log with trace level
log/logger.go:286
MethodPrint
(args ...interface{})
loggers/loggers.go:35
FunctionPrintJson
Print records the log with trace level
log/log.go:70
FunctionPrintf
Printf records the log with trace level
log/log.go:75
MethodPrintf
Printf records the log with trace level
log/logger.go:291
MethodPrintf
(format string, args ...interface{})
loggers/loggers.go:36
FunctionPrintln
Println records the log with trace level
log/log.go:80
MethodPrintln
Println records the log with trace level
log/logger.go:296
MethodPrintln
(args ...interface{})
loggers/loggers.go:37
FunctionSetDefaultLogger
SetDefaultLogger changes the global logger
log/log.go:11
FunctionSetLevel
SetLevel changes the logger level
log/log.go:16
FunctionSetLevelByName
SetLevelByName changes the logger level by name
log/log.go:21
FunctionTestRotatingFileLog
(t *testing.T)
log/log_test.go:24
FunctionTestStdStreamLog
(t *testing.T)
log/log_test.go:8
FunctionWarn
Warn records the log with warn level
log/log.go:145
MethodWarn
Warn records the log with warn level
log/logger.go:346
MethodWarn
(args ...interface{})
loggers/loggers.go:56
FunctionWarnf
Warnf records the log with warn level
log/log.go:150
MethodWarnf
Warnf records the log with warn level
log/logger.go:351
MethodWarnf
(format string, args ...interface{})
loggers/loggers.go:57
FunctionWarnln
Warnln records the log with warn level
log/log.go:155
MethodWarnln
Warnln records the log with warn level
log/logger.go:356
MethodWarnln
(args ...interface{})
loggers/loggers.go:58
MethodWithField
(key string, value interface{})
loggers/loggers.go:66
MethodWithFields
(fields ...interface{})
loggers/loggers.go:67
MethodWrite
Write implements Handler interface
log/filehandler.go:33
MethodWrite
Write implements Handler interface
log/filehandler.go:222
next →1–100 of 102, ranked by callers