clang-format
This commit is contained in:
		@@ -116,7 +116,6 @@ void daily_example()
 | 
			
		||||
    auto daily_logger = spdlog::daily_logger_mt("daily_logger", "logs/daily.txt", 2, 30);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Load log levels from SPDLOG_LEVEL environment variable if exists.
 | 
			
		||||
//
 | 
			
		||||
// set global level to debug:
 | 
			
		||||
 
 | 
			
		||||
@@ -79,7 +79,7 @@ SPDLOG_INLINE std::unordered_map<std::string, std::string> extract_key_vals_(con
 | 
			
		||||
    return rv;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
inline details::registry::logger_levels extract_levels_(const std::string& input)
 | 
			
		||||
inline details::registry::logger_levels extract_levels_(const std::string &input)
 | 
			
		||||
{
 | 
			
		||||
    auto key_vals = extract_key_vals_(input);
 | 
			
		||||
    details::registry::logger_levels rv;
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ SPDLOG_INLINE spdlog::level::level_enum from_str(const std::string &name) SPDLOG
 | 
			
		||||
        level++;
 | 
			
		||||
    }
 | 
			
		||||
    // allow warn = warning before giving up
 | 
			
		||||
    return name == "warn" ? level::warn: level::off;
 | 
			
		||||
    return name == "warn" ? level::warn : level::off;
 | 
			
		||||
}
 | 
			
		||||
} // namespace level
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -541,7 +541,7 @@ std::string SPDLOG_INLINE getenv(const char *field)
 | 
			
		||||
 | 
			
		||||
#if defined(_MSC_VER)
 | 
			
		||||
#if defined(__cplusplus_winrt)
 | 
			
		||||
    return std::string{}; //not supported under uwp
 | 
			
		||||
    return std::string{}; // not supported under uwp
 | 
			
		||||
#else
 | 
			
		||||
    size_t len = 0;
 | 
			
		||||
    char buf[128];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user