move ILogger interface from xorm package to core package

This commit is contained in:
Nash Tsai 2014-08-20 09:38:03 +08:00
parent 116e4818df
commit 5510997442
1 changed files with 9 additions and 0 deletions

9
ilogger.go Normal file
View File

@ -0,0 +1,9 @@
package core
// logger interface, log/syslog conform with this interface
type ILogger interface {
Debug(m string) (err error)
Err(m string) (err error)
Info(m string) (err error)
Warning(m string) (err error)
}