Log System Implementation #1

Merged
Rene Nochebuena merged 10 commits from feature/log-system-implementation into develop 2025-04-10 18:03:57 -06:00
Showing only changes of commit b7202bc141 - Show all commits

View File

@ -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")
} }