Error returning for easier migrations from log4go

Warn, Error and Critical methods now return an error for log4go compatibility