This class mimics the standard OSGi
LogService interface. An instance of this class is used by the dependency manager for all logging. By default this class logs messages to standard out. The log level can be set to control the amount of logging performed, where a higher number results in more logging. A log level of zero turns off logging completely. The log levels match those specified in the OSGi Log Service. This class also tracks log services and will use the highest ranking log service, if present, as a back end instead of printing to standard out. The class uses reflection to invoking the log service's method to avoid a dependency on the log interface, which is also why it does not actually implement
LogService
. This class is in many ways similar to the one used in the system bundle for that same purpose.
@author
Felix Project Team