commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Caswell" <>
Subject [logging] proposal to add level enumeration
Date Mon, 18 Feb 2002 23:04:17 GMT
Greetings loggers.  I'm struggling with writing some utility classes
that use logging.  I'm trying to replace my log4j-specific code with the
commons-logging API, and I've run into problems not having exposure of
the Priority class and related methods in Category.  I'd like to propose
the following changes to the commons-logging API:

1. Add a strongly-type enumeration class to represent the logging
"levels" (trace, debug, etc.) called Level
2. In Level, instantiate final instance variables to represent the
existing levels trace, debug, info, error, and fatal
3. Add operations to the Log interface that mimic the log4j
	log(Level, Object)
	log(Level, Object, Throwable)

I'd be happy to do this work if so desired.


Steven Caswell
a.k.a Mungo Knotwise of Michel Delving
"One ring to rule them all, one ring to find them..."

Do You Yahoo!?
Get your free address at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message