mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
format
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
// Init levels from argv SPDLOG_LEVEL
|
||||
// Example: my_program.exe "SPDLOG_LEVEL=trace"
|
||||
|
||||
|
||||
namespace spdlog {
|
||||
namespace cfg {
|
||||
// search for SPDLOG_LEVEL= in the args and use it to init the levels
|
||||
|
@@ -41,9 +41,6 @@ namespace spdlog {
|
||||
private:
|
||||
std::unordered_map<std::string, spdlog::level::level_enum> levels_;
|
||||
spdlog::level::level_enum default_level_ = level::info;
|
||||
|
||||
};
|
||||
} // namespace cfg
|
||||
} // namespace spdlog
|
||||
|
||||
|
||||
|
@@ -95,7 +95,6 @@ inline log_levels extract_levels_(const std::string &input)
|
||||
level = level::info;
|
||||
}
|
||||
rv.set(logger_name, level);
|
||||
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
@@ -30,7 +30,6 @@
|
||||
namespace spdlog {
|
||||
namespace details {
|
||||
|
||||
|
||||
SPDLOG_INLINE registry::registry()
|
||||
: formatter_(new pattern_formatter())
|
||||
{
|
||||
|
@@ -28,7 +28,6 @@ class periodic_worker;
|
||||
class registry
|
||||
{
|
||||
public:
|
||||
|
||||
registry(const registry &) = delete;
|
||||
registry &operator=(const registry &) = delete;
|
||||
|
||||
|
Reference in New Issue
Block a user