mirror of
https://github.com/minio/minio.git
synced 2026-11-18 23:00:19 +00:00
Implement log package as drop-in replacement for handling Debug log-level
This commit is contained in:
1 parent
80892c5c9b
commit
914962bd93
11 files changed
+169
-21
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package log
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
. "gopkg.in/check.v1"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
||||
var _ = Suite(&MySuite{})
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
func (s *MySuite) TestLogLevel(c *C) {
|
||||
c.Assert(verbosity, Equals, NormalLOG)
|
||||
SetVerbosity(QuietLOG)
|
||||
c.Assert(verbosity, Equals, QuietLOG)
|
||||
}
|
||||
Reference in new issue
Block a user