>
> ...
> There were two ideas proposed:
>
> loggo.LoggerForPackage("juju")
>
> which would walk up the path until it found a path element juju, and
> construct the string that way. The other was do use a defined prefix:
>

The only problem here is that we have:
  github.com/juju/juju/juju
and
  github.com/juju/juju/cmd/juju

Which would confuse this algorithm. Though I like its brevity.

John
=:->


>
> loggo.LoggerForPackage("github.com/juju")
>
> which would take what was after those path elements to generate the string.
>
>
> I'm happy with either being implemented, but would like feedback on the
> ideas.
>
-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to