Release v1.0.0 #2
@ -59,10 +59,17 @@ func Test_PlainTextLogs(t *testing.T) {
|
|||||||
|
|
||||||
func Test_MutedPlainTextLogs(t *testing.T) {
|
func Test_MutedPlainTextLogs(t *testing.T) {
|
||||||
InitStoneLog(ERROR, false, true)
|
InitStoneLog(ERROR, false, true)
|
||||||
|
|
||||||
|
// This won't change the log level
|
||||||
|
SetLogLevel(-1)
|
||||||
|
|
||||||
|
// Following won't appear
|
||||||
Trace("This is a trace log")
|
Trace("This is a trace log")
|
||||||
Debug("This is a debug log")
|
Debug("This is a debug log")
|
||||||
Observation("This is an observation log")
|
Observation("This is an observation log")
|
||||||
Hypothesis("This is a hypothesis log")
|
Hypothesis("This is a hypothesis log")
|
||||||
|
|
||||||
|
// Until this one
|
||||||
Failure("This is a failure log")
|
Failure("This is a failure log")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user