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
ShowDebug bool
ShowWarn bool
ShowInfo bool
//Pool IConnectPool
//Filters []core.Filter
Logger ILogger // io.Writer
@ -191,10 +190,8 @@ func (engine *Engine) LogError(contents ...interface{}) {
// logging error
func (engine *Engine) LogInfo(contents ...interface{}) {
if engine.ShowInfo {
engine.Logger.Info(fmt.Sprintln(contents...))
}
}
// logging debug
func (engine *Engine) LogDebug(contents ...interface{}) {