mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
git ignore
This commit is contained in:
parent
64f2b33273
commit
4189a406f4
36
.gitignore
vendored
Normal file
36
.gitignore
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Codelite
|
||||
.codelite
|
||||
|
||||
# .orig files
|
||||
*.orig
|
||||
|
||||
# example files
|
||||
example/*
|
||||
!example/example.cpp
|
||||
!example/utils.h
|
||||
!example/makefile
|
||||
!example/makefile.clang
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "c11log/sinks/async_sink.h"
|
||||
#include "c11log/sinks/file_sinks.h"
|
||||
#include "c11log/sinks/console_sinks.h"
|
||||
#include "c11log/details/log_msg.h"
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
|
@ -32,6 +32,7 @@ public:
|
||||
_oss);
|
||||
}
|
||||
}
|
||||
|
||||
// No copy intended. Only move
|
||||
line_logger(const line_logger& other) = delete;
|
||||
line_logger& operator=(const line_logger&) = delete;
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "common_types.h"
|
||||
#include "sinks/base_sink.h"
|
||||
#include "details/factory.h"
|
||||
#include "c11log/details/log_msg.h"
|
||||
|
||||
|
||||
//Thread safe, fast logger.
|
||||
@ -102,7 +103,7 @@ inline c11log::logger::logger(sinks_init_list sinks_list) :
|
||||
|
||||
inline c11log::details::line_logger c11log::logger::log(c11log::level::level_enum msg_level)
|
||||
{
|
||||
return details::line_logger(this, msg_level, msg_level >= _atomic_level);
|
||||
return details::line_logger(this, new_log_msg, msg_level >= msg_level);
|
||||
}
|
||||
|
||||
inline c11log::details::line_logger c11log::logger::debug()
|
||||
|
Loading…
Reference in New Issue
Block a user