Logger Design Question #367

Closed
opened 2016-03-07 14:37:13 +00:00 by mephux · 2 comments
mephux commented 2016-03-07 14:37:13 +00:00 (Migrated from github.com)

https://github.com/go-xorm/xorm/blob/master/logger.go#L78

Why do all of these return an error? This breaks compatibility with popular logging packages like logrus etc. Was just curious - not an error or even something that's important.

https://github.com/go-xorm/xorm/blob/master/logger.go#L78 Why do all of these return an error? This breaks compatibility with popular logging packages like logrus etc. Was just curious - not an error or even something that's important.

Hi, I think we can remove the return value here now.

Hi, I think we can remove the return value here now.

This issue has been resolved by b336fa1, so let's close it.

This issue has been resolved by b336fa1, so let's close it.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#367
No description provided.