42{
43 try {
44 try {
47 } else {
49
51 }
52 } catch (...) {
53 elog(
"Error reloading logging.json");
54 throw;
55 }
58 } catch (const boost::exception& e) {
59 elog(
"${e}", (
"e",boost::diagnostic_information(e)));
60 } catch (const std::exception& e) {
61 elog(
"${e}", (
"e",e.what()));
62 } catch (...) {
63
64 }
65}
Used to generate a useful error report when an exception is thrown.
std::string to_detail_string(log_level ll=log_level::all) const
fc::logging_config & add_deep_mind_logger(fc::logging_config &config)
bool exists(const path &p)
void configure_logging(const fc::path &log_config)
static logging_config default_config()