- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddSystemTarget (0.15 sec)
-
internal/logger/target/testlogger/testlogger.go
"github.com/minio/pkg/v2/logger/message/log" ) const ( logMessage = iota errorMessage fatalMessage ) // T is the test logger. var T = &testLogger{} func init() { logger.AddSystemTarget(context.Background(), T) } type testLogger struct { current atomic.Pointer[testing.TB] action atomic.Int32 } // SetLogTB will set the logger to output to tb.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 4K bytes - Viewed (0)