Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
d89628bb
Commit
d89628bb
authored
Dec 02, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed makefile
parent
0e3120ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bench/Makefile
bench/Makefile
+1
-1
example/example.cpp
example/example.cpp
+3
-1
No files found.
bench/Makefile
View file @
d89628bb
CXX
=
g++
CXX
=
g++
CXXFLAGS
=
-
-
march
=
native
-Wall
-Wshadow
-Wextra
-pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-I
../include
CXXFLAGS
=
-march
=
native
-Wall
-Wshadow
-Wextra
-pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-I
../include
CXX_RELEASE_FLAGS
=
-O3
-flto
CXX_RELEASE_FLAGS
=
-O3
-flto
...
...
example/example.cpp
View file @
d89628bb
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
//
//
#include <iostream>
#include <iostream>
#include "spdlog/spdlog.h"
#include "spdlog/spdlog.h"
#include "spdlog/details/format.h"
int
main
(
int
,
char
*
[])
int
main
(
int
,
char
*
[])
{
{
...
@@ -36,6 +36,8 @@ int main(int, char* [])
...
@@ -36,6 +36,8 @@ int main(int, char* [])
try
try
{
{
fmt
::
print
(
"Hello man {} {:1f}
\n
"
,
1
,
2.2
);
return
0
;
std
::
string
filename
=
"logs/spdlog_example"
;
std
::
string
filename
=
"logs/spdlog_example"
;
// Set log level to all loggers to DEBUG and above
// Set log level to all loggers to DEBUG and above
spd
::
set_level
(
spd
::
level
::
DEBUG
);
spd
::
set_level
(
spd
::
level
::
DEBUG
);
...
...
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