mirror of https://github.com/gabime/spdlog.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
370 B
C++
15 lines
370 B
C++
#include "spdlite.h"
|
|
#include "spdlog/spdlog.h"
|
|
#include "spdlog/sinks/basic_file_sink.h"
|
|
#include "spdlog/sinks/stdout_color_sinks.h"
|
|
#include "spdlog/sinks/stdout_sinks.h"
|
|
|
|
#define UNUSED(x) (void)(x)
|
|
|
|
// example of creating lite logger with console and file sink
|
|
spdlite::logger create_logger(void *ctx)
|
|
{
|
|
UNUSED(ctx);
|
|
return spdlite::default_logger();
|
|
}
|