mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
static lib wip
This commit is contained in:
@@ -10,16 +10,15 @@
|
||||
#include "spdlog/logger.h"
|
||||
|
||||
|
||||
namespace spdlog {
|
||||
class logger;
|
||||
}
|
||||
|
||||
spdlog::logger *get_logger();
|
||||
|
||||
|
||||
|
||||
int main(int, char *[])
|
||||
{
|
||||
auto *l = get_logger();
|
||||
l->info("HELLO");
|
||||
l->info("HELLO {}", "World");
|
||||
l->warn("SOME WARNINNG");
|
||||
l->error("Some {}", "error");
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user