Update project name in sonar configuration #5
@ -57,6 +57,15 @@ func Test_PlainTextLogs(t *testing.T) {
|
|||||||
SetLogLevel(INFO)
|
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) {
|
func Test_JSONLogs(t *testing.T) {
|
||||||
InitStoneLog(TRACE, true, false)
|
InitStoneLog(TRACE, true, false)
|
||||||
Trace("This is a trace log")
|
Trace("This is a trace log")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user