category is what you use to configure logging in the major logging
frameworks.
No, class name and line number are part of what is called "location
information" which is usually a formatting option. But its expensive,
as it generally means the logging framework creating an Exception and
looking through its stack trace.
On 04/12/2011 11:24 AM, John Verhaeg wrote:
What's the implication to the logged message content behind using
a class name vs. a subsystem name as a category? Would it be correct to assume the class
name/line number would only appear in the message if you use the class name as a category?
Or is that something more tied to the underlying logging implementation?
JPAV
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org