Revert "update"

This reverts commit a25f371cbf.
This commit is contained in:
Nash Tsai 2014-04-22 18:51:56 +08:00
parent 991c033dac
commit a4d3be797f
1 changed files with 1 additions and 4 deletions

View File

@ -34,7 +34,6 @@ type Engine struct {
ShowErr bool ShowErr bool
ShowDebug bool ShowDebug bool
ShowWarn bool ShowWarn bool
ShowInfo bool
//Pool IConnectPool //Pool IConnectPool
//Filters []core.Filter //Filters []core.Filter
Logger ILogger // io.Writer Logger ILogger // io.Writer
@ -191,9 +190,7 @@ func (engine *Engine) LogError(contents ...interface{}) {
// logging error // logging error
func (engine *Engine) LogInfo(contents ...interface{}) { func (engine *Engine) LogInfo(contents ...interface{}) {
if engine.ShowInfo {
engine.Logger.Info(fmt.Sprintln(contents...)) engine.Logger.Info(fmt.Sprintln(contents...))
}
} }
// logging debug // logging debug