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 e84f7bd810 - Show all commits

View File

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