MCPcopy Create free account

hub / github.com/labstack/gommon / functions

Functions185 in github.com/labstack/gommon

↓ 1 callersMethodPrintj
(j JSON)
log/log.go:148
↓ 1 callersMethodPrintln
Println is analogous to `fmt.Println` with termial detection.
color/color.go:167
↓ 1 callersFunctionRedBg
(msg interface{}, styles ...string)
color/color.go:349
↓ 1 callersMethodRedBg
(msg interface{}, styles ...string)
color/color.go:216
↓ 1 callersFunctionReset
(msg interface{}, styles ...string)
color/color.go:377
↓ 1 callersMethodSetPrefix
(p string)
log/log.go:109
↓ 1 callersFunctionStrikeout
(msg interface{}, styles ...string)
color/color.go:405
↓ 1 callersMethodStrikeout
(msg interface{}, styles ...string)
color/color.go:272
↓ 1 callersFunctionTestLog
(t *testing.T)
log/log_test.go:42
↓ 1 callersFunctionUnderline
(msg interface{}, styles ...string)
color/color.go:393
↓ 1 callersMethodUnderline
(msg interface{}, styles ...string)
color/color.go:260
↓ 1 callersMethodWarnj
(j JSON)
log/log.go:184
↓ 1 callersFunctionWhite
(msg interface{}, styles ...string)
color/color.go:337
↓ 1 callersMethodWhite
(msg interface{}, styles ...string)
color/color.go:204
↓ 1 callersFunctionWhiteBg
(msg interface{}, styles ...string)
color/color.go:373
↓ 1 callersMethodWhiteBg
(msg interface{}, styles ...string)
color/color.go:240
↓ 1 callersFunctionYellowBg
(msg interface{}, styles ...string)
color/color.go:357
↓ 1 callersMethodYellowBg
(msg interface{}, styles ...string)
color/color.go:224
↓ 1 callersFunctionoutput
()
log/color.go:11
↓ 1 callersFunctionrunFakeSMTP
runFakeSMTP accepts one connection and drives a minimal SMTP dialog. Returns a channel that closes when the connection is done.
email/email_test.go:62
FunctionBenchmarkLog
(b *testing.B)
log/log_test.go:151
MethodColor
()
log/log.go:132
FunctionDebug
(i ...interface{})
log/log.go:280
FunctionDebugf
(format string, args ...interface{})
log/log.go:284
FunctionDebugj
(j JSON)
log/log.go:288
FunctionDisableColor
()
log/log.go:232
FunctionEnableColor
()
log/log.go:236
FunctionError
(i ...interface{})
log/log.go:316
FunctionErrorf
(format string, args ...interface{})
log/log.go:320
FunctionErrorj
(j JSON)
log/log.go:324
FunctionFatal
(i ...interface{})
log/log.go:328
FunctionFatalf
(format string, args ...interface{})
log/log.go:332
FunctionFatalj
(j JSON)
log/log.go:336
FunctionFormatBinary
FormatBinary wraps global Bytes's FormatBinary function.
bytes/bytes.go:204
FunctionInfo
(i ...interface{})
log/log.go:292
FunctionInfof
(format string, args ...interface{})
log/log.go:296
FunctionInfoj
(j JSON)
log/log.go:300
FunctionLevel
()
log/log.go:248
FunctionOutput
()
log/log.go:256
FunctionOutput
Output returns the output.
color/color.go:277
MethodOutput
Output returns the output.
color/color.go:139
FunctionPanic
(i ...interface{})
log/log.go:340
FunctionPanicf
(format string, args ...interface{})
log/log.go:344
FunctionPanicj
(j JSON)
log/log.go:348
FunctionPrefix
()
log/log.go:240
FunctionPrint
(i ...interface{})
log/log.go:268
FunctionPrint
Print is analogous to `fmt.Print` with termial detection.
color/color.go:295
FunctionPrintf
(format string, args ...interface{})
log/log.go:272
FunctionPrintf
Printf is analogous to `fmt.Printf` with termial detection.
color/color.go:305
FunctionPrintj
(j JSON)
log/log.go:276
MethodSend
(m *Message)
email/email.go:94
FunctionSetHeader
(h string)
log/log.go:264
FunctionSetLevel
(level Lvl)
log/log.go:252
FunctionSetOutput
(w io.Writer)
log/log.go:260
FunctionSetOutput
SetOutput sets the output.
color/color.go:282
FunctionSetPrefix
(p string)
log/log.go:244
FunctionTest
(t *testing.T)
random/random_test.go:11
FunctionTestBackground
(t *testing.T)
color/color_test.go:22
FunctionTestBytesFormat
(t *testing.T)
bytes/bytes_test.go:10
FunctionTestBytesParse
(t *testing.T)
bytes/bytes_test.go:112
FunctionTestBytesParseErrors
(t *testing.T)
bytes/bytes_test.go:67
FunctionTestCallerFile
TestCallerFile verifies that both text and JSON log paths report the user's call site, not an internal wrapper frame. This guards against skip-count d
log/log_test.go:135
FunctionTestDial_InvalidAddress
TestDial_InvalidAddress verifies malformed addresses fail fast.
email/email_test.go:54
FunctionTestDial_PlainAccepts
TestDial_PlainAccepts verifies non-465 ports dial plaintext and complete the SMTP handshake against a minimal fake server.
email/email_test.go:15
FunctionTestDial_Timeout
TestDial_Timeout verifies DialTimeout caps dial wait on unreachable hosts. Uses 203.0.113.1 (TEST-NET-3, RFC 5737) which is unroutable. Timeout is 500
email/email_test.go:41
FunctionTestEmphasis
(t *testing.T)
color/color_test.go:34
FunctionTestEmptyHeader
(t *testing.T)
log/log_test.go:122
FunctionTestEnableDisable
(t *testing.T)
color/color_test.go:55
FunctionTestFatal
(t *testing.T)
log/log_test.go:63
FunctionTestFloats
(t *testing.T)
bytes/bytes_test.go:74
FunctionTestFormat
(t *testing.T)
log/log_test.go:95
FunctionTestGlobal
(t *testing.T)
log/log_test.go:47
FunctionTestJSON
(t *testing.T)
log/log_test.go:104
FunctionTestLogConcurrent
(t *testing.T)
log/log_test.go:51
FunctionTestMixMatch
(t *testing.T)
color/color_test.go:46
FunctionTestNoFormat
(t *testing.T)
log/log_test.go:92
FunctionTestRandomString
(t *testing.T)
random/random_test.go:17
FunctionTestRandomStringBias
(t *testing.T)
random/random_test.go:41
FunctionTestStringWithQuotes
(t *testing.T)
log/log_test.go:113
FunctionTestText
(t *testing.T)
color/color_test.go:9
FunctionWarn
(i ...interface{})
log/log.go:304
FunctionWarnf
(format string, args ...interface{})
log/log.go:308
FunctionWarnj
(j JSON)
log/log.go:312
Functioninit
()
log/log.go:56
Functionoutput
()
log/white.go:10
← previous101–185 of 185, ranked by callers