go-log icon indicating copy to clipboard operation
go-log copied to clipboard

Inconsistent API

Open anacrolix opened this issue 7 years ago • 2 comments

  • SetLogLevel has a special case for *, yet SetAllLoggers exists.
  • SetLogLevel takes level as a string, instead of a "github.com/whyrusleeping/go-logging".Level.

anacrolix avatar Dec 18 '18 07:12 anacrolix

I believe both of these inconsistencies are to for backwards compatible support for existing clients of the package

iand avatar May 19 '20 15:05 iand

There is still quite a way until we update everything to v2. Maybe we should look at doing major cleanup as v3 and update to it too.

Kubuxu avatar Jun 18 '20 15:06 Kubuxu