Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3ee3b37395
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.346 kb
package steno
import (
. "launchpad.net/gocheck"
)
type ConfigSuite struct {
}
var _ = Suite(&ConfigSuite{})
func (s *ConfigSuite) TestReInitLevel(c *C) {
levels := []LogLevel{LOG_INFO, LOG_DEBUG, LOG_WARN}
for _, level := range levels {
Init(&Config{Level: level})
l := NewLogger("reinit")
c.Assert(l.Level(), Equals, level)
}
}
Jump to Line
Something went wrong with that request. Please try again.