105 {
106
107 logging_config cfg;
108
110 c.push_back( mutable_variant_object( "level","debug")("color", "green") );
111 c.push_back( mutable_variant_object( "level","warn")("color", "brown") );
112 c.push_back( mutable_variant_object( "level","error")("color", "red") );
113
114 cfg.appenders.push_back(
115 appender_config( "stderr", "console",
116 mutable_variant_object()
117 ( "stream","std_error")
118 ( "level_colors", c )
119 ) );
120 cfg.appenders.push_back(
121 appender_config( "stdout", "console",
122 mutable_variant_object()
123 ( "stream","std_out")
124 ( "level_colors", c )
125 ) );
126
127 logger_config dlc;
130 dlc.appenders.push_back("stderr");
131 cfg.loggers.push_back( dlc );
132 return cfg;
133 }
std::vector< fc::variant > variants