move ILogger interface from xorm package to core package