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
d163b8c4
Commit
d163b8c4
authored
Dec 21, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
astyle
parent
58308df3
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
5 additions
and
5 deletions
+5
-5
astyle.sh
astyle.sh
+1
-1
boost-bench-mt.cpp
bench/boost-bench-mt.cpp
+0
-0
boost-bench.cpp
bench/boost-bench.cpp
+0
-0
easylogging-bench-mt.cpp
bench/easylogging-bench-mt.cpp
+0
-0
easylogging-bench.cpp
bench/easylogging-bench.cpp
+0
-0
g2log-async.cpp
bench/g2log-async.cpp
+0
-0
glog-bench-mt.cpp
bench/glog-bench-mt.cpp
+0
-0
glog-bench.cpp
bench/glog-bench.cpp
+0
-0
spdlog-async.cpp
bench/spdlog-async.cpp
+0
-0
spdlog-bench-mt.cpp
bench/spdlog-bench-mt.cpp
+0
-0
spdlog-bench.cpp
bench/spdlog-bench.cpp
+0
-0
bench.cpp
example/bench.cpp
+0
-0
example.cpp
example/example.cpp
+2
-2
utils.h
example/utils.h
+0
-0
async_logger.h
include/spdlog/async_logger.h
+0
-0
common.h
include/spdlog/common.h
+2
-1
async_log_helper.h
include/spdlog/details/async_log_helper.h
+0
-0
async_logger_impl.h
include/spdlog/details/async_logger_impl.h
+0
-0
file_helper.h
include/spdlog/details/file_helper.h
+0
-0
format.h
include/spdlog/details/format.h
+0
-0
line_logger.h
include/spdlog/details/line_logger.h
+0
-0
log_msg.h
include/spdlog/details/log_msg.h
+0
-1
No files found.
astyle.sh
View file @
d163b8c4
#!/bin/bash
find
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|xargs dos2unix
find
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|xargs astyle
-n
-
A1
find
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|xargs astyle
-n
-
c
-t4
-A1
bench/boost-bench-mt.cpp
View file @
d163b8c4
bench/boost-bench.cpp
View file @
d163b8c4
bench/easylogging-bench-mt.cpp
View file @
d163b8c4
bench/easylogging-bench.cpp
View file @
d163b8c4
bench/g2log-async.cpp
View file @
d163b8c4
bench/glog-bench-mt.cpp
View file @
d163b8c4
bench/glog-bench.cpp
View file @
d163b8c4
bench/spdlog-async.cpp
View file @
d163b8c4
bench/spdlog-bench-mt.cpp
View file @
d163b8c4
bench/spdlog-bench.cpp
View file @
d163b8c4
example/bench.cpp
View file @
d163b8c4
example/example.cpp
View file @
d163b8c4
...
...
@@ -76,11 +76,11 @@ int main(int, char* [])
async_file
->
info
()
<<
"This is async log.."
<<
"Should be very fast!"
;
// syslog example. linux only..
#ifdef __linux__
#ifdef __linux__
std
::
string
ident
=
"spdlog-example"
;
auto
syslog_logger
=
spd
::
syslog_logger
(
"syslog"
,
ident
,
LOG_PID
);
syslog_logger
->
warn
(
"This is warning that will end up in syslog. This is Linux only!"
);
#endif
#endif
}
catch
(
const
spd
::
spdlog_ex
&
ex
)
...
...
example/utils.h
View file @
d163b8c4
include/spdlog/async_logger.h
View file @
d163b8c4
include/spdlog/common.h
View file @
d163b8c4
...
...
@@ -39,7 +39,8 @@ namespace spdlog
class
formatter
;
namespace
sinks
{
namespace
sinks
{
class
sink
;
}
...
...
include/spdlog/details/async_log_helper.h
View file @
d163b8c4
include/spdlog/details/async_logger_impl.h
View file @
d163b8c4
include/spdlog/details/file_helper.h
View file @
d163b8c4
include/spdlog/details/format.h
View file @
d163b8c4
include/spdlog/details/line_logger.h
View file @
d163b8c4
include/spdlog/details/log_msg.h
View file @
d163b8c4
...
...
@@ -51,7 +51,6 @@ struct log_msg
raw
<<
fmt
::
BasicStringRef
<
char
>
(
other
.
raw
.
data
(),
other
.
raw
.
size
());
if
(
other
.
formatted
.
size
())
formatted
<<
fmt
::
BasicStringRef
<
char
>
(
other
.
formatted
.
data
(),
other
.
formatted
.
size
());
}
log_msg
(
log_msg
&&
other
)
:
...
...
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