mirror of
https://github.com/pgsty/minio.git
synced 2026-08-04 15:12:47 +03:00
Implement log package as drop-in replacement for handling Debug log-level
This commit is contained in:
@@ -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