mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 09:09:35 +08:00
refectored file names
This commit is contained in:
@@ -21,12 +21,14 @@ void syslog_example();
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <spdlog/sinks/stdout_color_sinks.h>
|
||||
#include <spdlog/cfg/env.h>
|
||||
#include <spdlog/cfg/argv_loader.h>
|
||||
#include <spdlog/cfg/argv.h>
|
||||
|
||||
int main(int args, char *argv[])
|
||||
{
|
||||
// spdlog::cfg::init_from_env();
|
||||
spdlog::cfg::init_from_argv(args, argv);
|
||||
|
||||
|
||||
//spdlog::cfg::env::load_levels();
|
||||
spdlog::cfg::argv::load_levels(args, argv);
|
||||
spdlog::info("HELLO INFO");
|
||||
|
||||
auto l1 = spdlog::stderr_color_st("l1");
|
||||
|
Reference in New Issue
Block a user