I
Ian Pilcher
I am writing a class which (ideally) will be part of a fairly general
library. I want to allow a "magic constant" to be overridden by a
system property.
This means that I need to do some error checking on the value of the
property (if present) and fallback to the default value if necessary.
I would very much like to issue/log a warning message in this situation.
Am I correct that J2SE does not provide any general purpose logging
mechanism? If so, what's the "best practice" for this situation?
Thanks!
library. I want to allow a "magic constant" to be overridden by a
system property.
This means that I need to do some error checking on the value of the
property (if present) and fallback to the default value if necessary.
I would very much like to issue/log a warning message in this situation.
Am I correct that J2SE does not provide any general purpose logging
mechanism? If so, what's the "best practice" for this situation?
Thanks!