development/Common/Utility/source/LoggerCpp/Manager.cpp
// Serialize the current Log::Level of Channel objects and return them as a Config instance

Serialize the current Log::Level of Channel objects and return them as a Config instance
Serialize the current Log :: Level of Channel objects and return them as a Config instance
yaget::ylog::Config::Ptr yaget::ylog::Manager::getChannelConfig(void)
{
    auto& d = md();
    Config::Ptr ConfigPtr(new Config("ChannelConfig"));
    for (auto iChannel = d.mChannelMap.begin(); iChannel != d.mChannelMap.end(); ++iChannel)
    {
        ConfigPtr->setValue(iChannel->first.c_str(), Log::toString(iChannel->second->getLevel()));
    }
    return ConfigPtr;
}
yaget :: ylog :: Config :: Ptr yaget :: ylog :: Manager :: getChannelConfig ( void ) { auto & d = md ( ) ; Config :: Ptr ConfigPtr ( new Config ( " " ) ) ; for ( auto iChannel = d . mChannelMap . begin ( ) ; iChannel != d . mChannelMap . end ( ) ; ++ iChannel ) { ConfigPtr -> setValue ( iChannel -> first . c_str ( ) , Log :: toString ( iChannel -> second -> getLevel ( ) ) ) ; } return ConfigPtr ; }
Serialize the current Log::Level of Channel objects and return them as a Config instance
Serialize the current Log :: Level of Channel objects and return them as a Config instance