Release v1.0.0 #2
@ -57,6 +57,15 @@ func Test_PlainTextLogs(t *testing.T) {
|
||||
SetLogLevel(INFO)
|
||||
}
|
||||
|
||||
func Test_MutedPlainTextLogs(t *testing.T) {
|
||||
InitStoneLog(ERROR, false, true)
|
||||
Trace("This is a trace log")
|
||||
Debug("This is a debug log")
|
||||
Observation("This is an observation log")
|
||||
Hypothesis("This is a hypothesis log")
|
||||
Failure("This is a failure log")
|
||||
}
|
||||
|
||||
func Test_JSONLogs(t *testing.T) {
|
||||
InitStoneLog(TRACE, true, false)
|
||||
Trace("This is a trace log")
|
||||
|
Loading…
x
Reference in New Issue
Block a user