git ignore

This commit is contained in:
gabime 2014-03-22 13:48:53 +02:00
parent 64f2b33273
commit 4189a406f4
4 changed files with 42 additions and 3 deletions

36
.gitignore vendored Normal file
View 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

View File

@ -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"

View File

@ -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;

View File

@ -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()