Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
b27911af
Commit
b27911af
authored
Apr 20, 2017
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor spdlog <> to ""
parent
daadf4f6
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
67 additions
and
65 deletions
+67
-65
log2.h
log2.h
+4
-2
async_logger.h
spdlog/async_logger.h
+3
-3
common.h
spdlog/common.h
+2
-2
async_log_helper.h
spdlog/details/async_log_helper.h
+6
-6
async_logger_impl.h
spdlog/details/async_logger_impl.h
+2
-2
file_helper.h
spdlog/details/file_helper.h
+2
-2
log_msg.h
spdlog/details/log_msg.h
+2
-2
logger_impl.h
spdlog/details/logger_impl.h
+2
-2
mpmc_bounded_q.h
spdlog/details/mpmc_bounded_q.h
+1
-1
os.h
spdlog/details/os.h
+1
-1
pattern_formatter_impl.h
spdlog/details/pattern_formatter_impl.h
+4
-4
registry.h
spdlog/details/registry.h
+4
-4
spdlog_impl.h
spdlog/details/spdlog_impl.h
+8
-8
fmt.h
spdlog/fmt/fmt.h
+1
-1
formatter.h
spdlog/formatter.h
+2
-2
logger.h
spdlog/logger.h
+3
-3
base_sink.h
spdlog/sinks/base_sink.h
+4
-4
file_sinks.h
spdlog/sinks/file_sinks.h
+4
-4
msvc_sink.h
spdlog/sinks/msvc_sink.h
+2
-2
sink.h
spdlog/sinks/sink.h
+1
-1
stdout_sinks.h
spdlog/sinks/stdout_sinks.h
+2
-2
wincolor_sink.h
spdlog/sinks/wincolor_sink.h
+3
-3
spdlog.h
spdlog/spdlog.h
+4
-4
No files found.
log2.h
View file @
b27911af
#pragma once
#include <iostream>
#include
<spdlog/spdlog.h>
#include
"spdlog/spdlog.h"
#ifdef WIN32
#include <spdlog/sinks/msvc_sink.h>
#include "spdlog/sinks/msvc_sink.h"
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#endif
#include "utf8.h"
namespace
jlib
{
...
...
spdlog/async_logger.h
View file @
b27911af
...
...
@@ -15,8 +15,8 @@
// 3. will throw spdlog_ex upon log exceptions
// Upon destruction, logs all remaining messages in the queue before destructing..
#include
<spdlog/common.h>
#include
<spdlog/logger.h>
#include
"spdlog/common.h"
#include
"spdlog/logger.h"
#include <chrono>
#include <functional>
...
...
@@ -79,4 +79,4 @@ private:
}
#include
<spdlog/details/async_logger_impl.h>
#include
"spdlog/details/async_logger_impl.h"
spdlog/common.h
View file @
b27911af
...
...
@@ -18,7 +18,7 @@
#include <locale>
#endif
#include
<spdlog/details/null_mutex.h>
#include
"spdlog/details/null_mutex.h"
//visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900)
...
...
@@ -38,7 +38,7 @@
#endif
#include
<spdlog/fmt/fmt.h>
#include
"spdlog/fmt/fmt.h"
namespace
spdlog
{
...
...
spdlog/details/async_log_helper.h
View file @
b27911af
...
...
@@ -14,12 +14,12 @@
#pragma once
#include
<spdlog/common.h>
#include
<spdlog/sinks/sink.h>
#include
<spdlog/details/mpmc_bounded_q.h>
#include
<spdlog/details/log_msg.h>
#include
<spdlog/details/os.h>
#include
<spdlog/formatter.h>
#include
"spdlog/common.h"
#include
"spdlog/sinks/sink.h"
#include
"spdlog/details/mpmc_bounded_q.h"
#include
"spdlog/details/log_msg.h"
#include
"spdlog/details/os.h"
#include
"spdlog/formatter.h"
#include <chrono>
#include <exception>
...
...
spdlog/details/async_logger_impl.h
View file @
b27911af
...
...
@@ -8,8 +8,8 @@
// Async Logger implementation
// Use an async_sink (queue per logger) to perform the logging in a worker thread
#include
<spdlog/details/async_log_helper.h>
#include
<spdlog/async_logger.h>
#include
"spdlog/details/async_log_helper.h"
#include
"spdlog/async_logger.h"
#include <string>
#include <functional>
...
...
spdlog/details/file_helper.h
View file @
b27911af
...
...
@@ -10,8 +10,8 @@
// Can be set to auto flush on every line
// Throw spdlog_ex exception on errors
#include
<spdlog/details/os.h>
#include
<spdlog/details/log_msg.h>
#include
"spdlog/details/os.h"
#include
"spdlog/details/log_msg.h"
#include <chrono>
#include <cstdio>
...
...
spdlog/details/log_msg.h
View file @
b27911af
...
...
@@ -5,8 +5,8 @@
#pragma once
#include
<spdlog/common.h>
#include
<spdlog/details/os.h>
#include
"spdlog/common.h"
#include
"spdlog/details/os.h"
#include <string>
...
...
spdlog/details/logger_impl.h
View file @
b27911af
...
...
@@ -5,8 +5,8 @@
#pragma once
#include
<spdlog/logger.h>
#include
<spdlog/sinks/stdout_sinks.h>
#include
"spdlog/logger.h"
#include
"spdlog/sinks/stdout_sinks.h"
#include <memory>
#include <string>
...
...
spdlog/details/mpmc_bounded_q.h
View file @
b27911af
...
...
@@ -43,7 +43,7 @@ Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include
<spdlog/common.h>
#include
"spdlog/common.h"
#include <atomic>
#include <utility>
...
...
spdlog/details/os.h
View file @
b27911af
...
...
@@ -4,7 +4,7 @@
//
#pragma once
#include
<spdlog/common.h>
#include
"spdlog/common.h"
#include <cstdio>
#include <ctime>
...
...
spdlog/details/pattern_formatter_impl.h
View file @
b27911af
...
...
@@ -5,10 +5,10 @@
#pragma once
#include
<spdlog/formatter.h>
#include
<spdlog/details/log_msg.h>
#include
<spdlog/details/os.h>
#include
<spdlog/fmt/fmt.h>
#include
"spdlog/formatter.h"
#include
"spdlog/details/log_msg.h"
#include
"spdlog/details/os.h"
#include
"spdlog/fmt/fmt.h"
#include <chrono>
#include <ctime>
...
...
spdlog/details/registry.h
View file @
b27911af
...
...
@@ -10,10 +10,10 @@
// If user requests a non existing logger, nullptr will be returned
// This class is thread safe
#include
<spdlog/details/null_mutex.h>
#include
<spdlog/logger.h>
#include
<spdlog/async_logger.h>
#include
<spdlog/common.h>
#include
"spdlog/details/null_mutex.h"
#include
"spdlog/logger.h"
#include
"spdlog/async_logger.h"
#include
"spdlog/common.h"
#include <chrono>
#include <functional>
...
...
spdlog/details/spdlog_impl.h
View file @
b27911af
...
...
@@ -8,23 +8,23 @@
//
// Global registry functions
//
#include
<spdlog/spdlog.h>
#include
<spdlog/details/registry.h>
#include
<spdlog/sinks/file_sinks.h>
#include
<spdlog/sinks/stdout_sinks.h>
#include
"spdlog/spdlog.h"
#include
"spdlog/details/registry.h"
#include
"spdlog/sinks/file_sinks.h"
#include
"spdlog/sinks/stdout_sinks.h"
#ifdef SPDLOG_ENABLE_SYSLOG
#include
<spdlog/sinks/syslog_sink.h>
#include
"spdlog/sinks/syslog_sink.h"
#endif
#ifdef _WIN32
#include
<spdlog/sinks/wincolor_sink.h>
#include
"spdlog/sinks/wincolor_sink.h"
#else
#include
<spdlog/sinks/ansicolor_sink.h>
#include
"spdlog/sinks/ansicolor_sink.h"
#endif
#ifdef __ANDROID__
#include
<spdlog/sinks/android_sink.h>
#include
"spdlog/sinks/android_sink.h"
#endif
#include <chrono>
...
...
spdlog/fmt/fmt.h
View file @
b27911af
...
...
@@ -18,7 +18,7 @@
#ifndef FMT_USE_WINDOWS_H
#define FMT_USE_WINDOWS_H 0
#endif
#include
<spdlog/fmt/bundled/format.h>
#include
"spdlog/fmt/bundled/format.h"
#else //external fmtlib
...
...
spdlog/formatter.h
View file @
b27911af
...
...
@@ -5,7 +5,7 @@
#pragma once
#include
<spdlog/details/log_msg.h>
#include
"spdlog/details/log_msg.h"
#include <vector>
#include <string>
...
...
@@ -41,5 +41,5 @@ private:
};
}
#include
<spdlog/details/pattern_formatter_impl.h>
#include
"spdlog/details/pattern_formatter_impl.h"
spdlog/logger.h
View file @
b27911af
...
...
@@ -12,8 +12,8 @@
// 2. Format the message using the formatter function
// 3. Pass the formatted message to its sinks to performa the actual logging
#include
<spdlog/sinks/base_sink.h>
#include
<spdlog/common.h>
#include
"spdlog/sinks/base_sink.h"
#include
"spdlog/common.h"
#include <vector>
#include <memory>
...
...
@@ -91,4 +91,4 @@ protected:
};
}
#include
<spdlog/details/logger_impl.h>
#include
"spdlog/details/logger_impl.h"
spdlog/sinks/base_sink.h
View file @
b27911af
...
...
@@ -10,10 +10,10 @@
// all locking is taken care of here so no locking needed by the implementers..
//
#include
<spdlog/sinks/sink.h>
#include
<spdlog/formatter.h>
#include
<spdlog/common.h>
#include
<spdlog/details/log_msg.h>
#include
"spdlog/sinks/sink.h"
#include
"spdlog/formatter.h"
#include
"spdlog/common.h"
#include
"spdlog/details/log_msg.h"
#include <mutex>
...
...
spdlog/sinks/file_sinks.h
View file @
b27911af
...
...
@@ -5,10 +5,10 @@
#pragma once
#include
<spdlog/sinks/base_sink.h>
#include
<spdlog/details/null_mutex.h>
#include
<spdlog/details/file_helper.h>
#include
<spdlog/fmt/fmt.h>
#include
"spdlog/sinks/base_sink.h"
#include
"spdlog/details/null_mutex.h"
#include
"spdlog/details/file_helper.h"
#include
"spdlog/fmt/fmt.h"
#include <algorithm>
#include <chrono>
...
...
spdlog/sinks/msvc_sink.h
View file @
b27911af
...
...
@@ -7,8 +7,8 @@
#if defined(_MSC_VER)
#include
<spdlog/sinks/base_sink.h>
#include
<spdlog/details/null_mutex.h>
#include
"spdlog/sinks/base_sink.h"
#include
"spdlog/details/null_mutex.h"
#include <WinBase.h>
...
...
spdlog/sinks/sink.h
View file @
b27911af
...
...
@@ -6,7 +6,7 @@
#pragma once
#include
<spdlog/details/log_msg.h>
#include
"spdlog/details/log_msg.h"
namespace
spdlog
{
...
...
spdlog/sinks/stdout_sinks.h
View file @
b27911af
...
...
@@ -5,8 +5,8 @@
#pragma once
#include
<spdlog/details/null_mutex.h>
#include
<spdlog/sinks/base_sink.h>
#include
"spdlog/details/null_mutex.h"
#include
"spdlog/sinks/base_sink.h"
#include <cstdio>
#include <memory>
...
...
spdlog/sinks/wincolor_sink.h
View file @
b27911af
...
...
@@ -5,9 +5,9 @@
#pragma once
#include
<spdlog/sinks/base_sink.h>
#include
<spdlog/details/null_mutex.h>
#include
<spdlog/common.h>
#include
"spdlog/sinks/base_sink.h"
#include
"spdlog/details/null_mutex.h"
#include
"spdlog/common.h"
#include <mutex>
#include <string>
...
...
spdlog/spdlog.h
View file @
b27911af
...
...
@@ -9,9 +9,9 @@
#define SPDLOG_VERSION "0.13.0"
#include
<spdlog/tweakme.h>
#include
<spdlog/common.h>
#include
<spdlog/logger.h>
#include
"spdlog/tweakme.h"
#include
"spdlog/common.h"
#include
"spdlog/logger.h"
#include <memory>
#include <functional>
...
...
@@ -175,4 +175,4 @@ void drop_all();
}
#include
<spdlog/details/spdlog_impl.h>
#include
"spdlog/details/spdlog_impl.h"
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