#2108 Log names

SlimerDude Tue 12 Mar 2013

Shame : aren't allowed in sys::Log#get for then you could do something like:

Log log := Log.get(Acme#.qname)

because

Log log := Log.get(Acme#.pod.name + "." + Acme#.name)

is quite tiresome.

How about a new factory method on Log for sys::Type to do the above? Then you could write:

Log log := Log.getForType(Acme#)

brian Tue 12 Mar 2013

We we do have Pod.log which for me is typical granuality of logging so that you can do:

Acme#.pod.log

SlimerDude Wed 13 Mar 2013

Yeah, I was aware of Pod.log, I was just thinking a Log.getForType (or now you mention it - Type.log) would give more granularity.

Login or Signup to reply.