- Timestamp:
- 01/16/08 15:32:28 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/util/log/stubLogDataFactory.php
r1230 r1245 52 52 public static function create($target, $level = stubLogger::LEVEL_INFO) 53 53 { 54 $fqClassName = stubRegistry::getConfig( 'net.stubbles.util.log.class', 'net::stubbles::util::log::stubBaseLogData');54 $fqClassName = stubRegistry::getConfig(stubLogData::CLASS_REGISTRY_KEY, 'net::stubbles::util::log::stubBaseLogData'); 55 55 $nqClassName = stubClassLoader::getNonQualifiedClassName($fqClassName); 56 56 if (class_exists($nqClassName, false) === false) { … … 60 60 $logData = new $nqClassName($target, $level); 61 61 if (($logData instanceof stubLogData) === false) { 62 throw new stubRuntimeException('Configured net.stubbles.util.log.classis not an instance of net::stubbles::util::log::stubLogData.');62 throw new stubRuntimeException('Configured ' . stubLogData::CLASS_REGISTRY_KEY . ' is not an instance of net::stubbles::util::log::stubLogData.'); 63 63 } 64 64
