Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
077c3095
Commit
077c3095
authored
Feb 25, 2016
by
Kevin M. Godby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing standard header includes.
parent
196689f7
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
59 additions
and
15 deletions
+59
-15
async_logger.h
include/spdlog/async_logger.h
+2
-0
common.h
include/spdlog/common.h
+2
-2
async_log_helper.h
include/spdlog/details/async_log_helper.h
+5
-1
async_logger_impl.h
include/spdlog/details/async_logger_impl.h
+4
-0
file_helper.h
include/spdlog/details/file_helper.h
+2
-1
line_logger_impl.h
include/spdlog/details/line_logger_impl.h
+3
-0
log_msg.h
include/spdlog/details/log_msg.h
+2
-1
logger_impl.h
include/spdlog/details/logger_impl.h
+4
-0
mpmc_bounded_q.h
include/spdlog/details/mpmc_bounded_q.h
+1
-0
os.h
include/spdlog/details/os.h
+3
-1
pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+5
-3
registry.h
include/spdlog/details/registry.h
+4
-2
spdlog_impl.h
include/spdlog/details/spdlog_impl.h
+5
-0
formatter.h
include/spdlog/formatter.h
+2
-0
logger.h
include/spdlog/logger.h
+2
-0
android_sink.h
include/spdlog/sinks/android_sink.h
+1
-0
base_sink.h
include/spdlog/sinks/base_sink.h
+0
-2
dist_sink.h
include/spdlog/sinks/dist_sink.h
+1
-1
file_sinks.h
include/spdlog/sinks/file_sinks.h
+5
-0
ostream_sink.h
include/spdlog/sinks/ostream_sink.h
+0
-1
stdout_sinks.h
include/spdlog/sinks/stdout_sinks.h
+1
-0
spdlog.h
include/spdlog/spdlog.h
+5
-0
No files found.
include/spdlog/async_logger.h
View file @
077c3095
...
...
@@ -20,6 +20,8 @@
#include <chrono>
#include <functional>
#include <string>
#include <memory>
namespace
spdlog
{
...
...
include/spdlog/common.h
View file @
077c3095
...
...
@@ -9,6 +9,7 @@
#include <initializer_list>
#include <chrono>
#include <memory>
#include <exception>
//visual studio does not support noexcept yet
#ifndef _MSC_VER
...
...
@@ -94,4 +95,4 @@ private:
};
}
//spdlog
\ No newline at end of file
}
//spdlog
include/spdlog/details/async_log_helper.h
View file @
077c3095
...
...
@@ -23,8 +23,12 @@
#include <spdlog/formatter.h>
#include <chrono>
#include <
thread
>
#include <
exception
>
#include <functional>
#include <memory>
#include <string>
#include <thread>
#include <utility>
#include <vector>
namespace
spdlog
...
...
include/spdlog/details/async_logger_impl.h
View file @
077c3095
...
...
@@ -11,6 +11,10 @@
#include <spdlog/details/async_log_helper.h>
#include <spdlog/async_logger.h>
#include <string>
#include <functional>
#include <chrono>
#include <memory>
template
<
class
It
>
inline
spdlog
::
async_logger
::
async_logger
(
const
std
::
string
&
logger_name
,
...
...
include/spdlog/details/file_helper.h
View file @
077c3095
...
...
@@ -13,9 +13,10 @@
#include <spdlog/details/os.h>
#include <spdlog/details/log_msg.h>
#include <chrono>
#include <cstdio>
#include <string>
#include <thread>
#include <chrono>
namespace
spdlog
{
...
...
include/spdlog/details/line_logger_impl.h
View file @
077c3095
...
...
@@ -9,6 +9,9 @@
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <string>
#include <utility>
// Line logger class - aggregates operator<< calls to fast ostream
// and logs upon destruction
...
...
include/spdlog/details/log_msg.h
View file @
077c3095
...
...
@@ -8,7 +8,8 @@
#include <spdlog/common.h>
#include <spdlog/details/format.h>
#include <thread>
#include <string>
#include <utility>
namespace
spdlog
{
...
...
include/spdlog/details/logger_impl.h
View file @
077c3095
...
...
@@ -7,6 +7,10 @@
#include <spdlog/logger.h>
#include <atomic>
#include <memory>
#include <string>
// create logger with given name, sinks and the default pattern formatter
// all other ctors will call this one
template
<
class
It
>
...
...
include/spdlog/details/mpmc_bounded_q.h
View file @
077c3095
...
...
@@ -46,6 +46,7 @@ Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include <spdlog/common.h>
#include <atomic>
#include <utility>
namespace
spdlog
{
...
...
include/spdlog/details/os.h
View file @
077c3095
...
...
@@ -6,9 +6,10 @@
#include <spdlog/common.h>
#include <string>
#include <cstdio>
#include <ctime>
#include <functional>
#include <string>
#ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN
...
...
@@ -24,6 +25,7 @@
#include <sys/syscall.h> //Use gettid() syscall under linux to get thread id
#include <sys/stat.h>
#include <unistd.h>
#include <chrono>
#else
#include <thread>
#endif
...
...
include/spdlog/details/pattern_formatter_impl.h
View file @
077c3095
...
...
@@ -9,12 +9,14 @@
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <string>
#include <chrono>
#include <ctime>
#include <memory>
#include <vector>
#include <thread>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include <vector>
namespace
spdlog
{
...
...
include/spdlog/details/registry.h
View file @
077c3095
...
...
@@ -15,10 +15,12 @@
#include <spdlog/async_logger.h>
#include <spdlog/common.h>
#include <string>
#include <chrono>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
#include <functional>
namespace
spdlog
{
...
...
include/spdlog/details/spdlog_impl.h
View file @
077c3095
...
...
@@ -14,6 +14,11 @@
#include <spdlog/sinks/stdout_sinks.h>
#include <spdlog/sinks/syslog_sink.h>
#include <chrono>
#include <functional>
#include <memory>
#include <string>
inline
void
spdlog
::
register_logger
(
std
::
shared_ptr
<
logger
>
logger
)
{
return
details
::
registry
::
instance
().
register_logger
(
logger
);
...
...
include/spdlog/formatter.h
View file @
077c3095
...
...
@@ -8,6 +8,8 @@
#include <spdlog/details/log_msg.h>
#include <vector>
#include <string>
#include <memory>
namespace
spdlog
{
...
...
include/spdlog/logger.h
View file @
077c3095
...
...
@@ -18,6 +18,8 @@
#include <vector>
#include <memory>
#include <atomic>
#include <string>
namespace
spdlog
{
...
...
include/spdlog/sinks/android_sink.h
View file @
077c3095
...
...
@@ -13,6 +13,7 @@
#include <android/log.h>
#include <mutex>
#include <string>
namespace
spdlog
{
...
...
include/spdlog/sinks/base_sink.h
View file @
077c3095
...
...
@@ -15,9 +15,7 @@
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <string>
#include <mutex>
#include <atomic>
namespace
spdlog
{
...
...
include/spdlog/sinks/dist_sink.h
View file @
077c3095
...
...
@@ -13,7 +13,7 @@
#include <algorithm>
#include <memory>
#include <mutex>
#include <
list
>
#include <
vector
>
namespace
spdlog
{
...
...
include/spdlog/sinks/file_sinks.h
View file @
077c3095
...
...
@@ -10,7 +10,12 @@
#include <spdlog/details/file_helper.h>
#include <spdlog/details/format.h>
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <ctime>
#include <mutex>
#include <string>
namespace
spdlog
{
...
...
include/spdlog/sinks/ostream_sink.h
View file @
077c3095
...
...
@@ -10,7 +10,6 @@
#include <ostream>
#include <mutex>
#include <memory>
namespace
spdlog
{
...
...
include/spdlog/sinks/stdout_sinks.h
View file @
077c3095
...
...
@@ -9,6 +9,7 @@
#include <spdlog/details/null_mutex.h>
#include <iostream>
#include <memory>
#include <mutex>
namespace
spdlog
...
...
include/spdlog/spdlog.h
View file @
077c3095
...
...
@@ -12,6 +12,11 @@
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <memory>
#include <functional>
#include <chrono>
#include <string>
namespace
spdlog
{
// Return an existing logger or nullptr if a logger with such name doesn't exist.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment