mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-26 00:40:05 +01:00
integrated changes from main repository for upcoming 1.2.5 release
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// FormattingChannel.cpp
|
||||
//
|
||||
// $Id: //poco/1.2/Foundation/src/FormattingChannel.cpp#1 $
|
||||
// $Id: //poco/1.2/Foundation/src/FormattingChannel.cpp#2 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
@@ -126,8 +126,8 @@ void FormattingChannel::setProperty(const std::string& name, const std::string&
|
||||
setChannel(LoggingRegistry::defaultRegistry().channelForName(value));
|
||||
else if (name == "formatter")
|
||||
setFormatter(LoggingRegistry::defaultRegistry().formatterForName(value));
|
||||
else
|
||||
Channel::setProperty(name, value);
|
||||
else if (_pChannel)
|
||||
_pChannel->setProperty(name, value);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user