Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
4946535c
Commit
4946535c
authored
Jul 10, 2017
by
Dominik Charousset
Committed by
GitHub
Jul 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #578
Fix build when CAF_LOG_LEVEL is not #defined
parents
2040822a
080a0b9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libcaf_core/caf/logger.hpp
libcaf_core/caf/logger.hpp
+4
-4
No files found.
libcaf_core/caf/logger.hpp
View file @
4946535c
...
@@ -312,6 +312,10 @@ bool operator==(const logger::field& x, const logger::field& y);
...
@@ -312,6 +312,10 @@ bool operator==(const logger::field& x, const logger::field& y);
#define CAF_PRETTY_FUN __PRETTY_FUNCTION__
#define CAF_PRETTY_FUN __PRETTY_FUNCTION__
#endif // CAF_MSVC
#endif // CAF_MSVC
#ifndef CAF_LOG_COMPONENT
#define CAF_LOG_COMPONENT "caf"
#endif // CAF_LOG_COMPONENT
#ifndef CAF_LOG_LEVEL
#ifndef CAF_LOG_LEVEL
#define CAF_LOG_IMPL(unused1, unused2, unused3)
#define CAF_LOG_IMPL(unused1, unused2, unused3)
...
@@ -331,10 +335,6 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; }
...
@@ -331,10 +335,6 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; }
#else // CAF_LOG_LEVEL
#else // CAF_LOG_LEVEL
#ifndef CAF_LOG_COMPONENT
#define CAF_LOG_COMPONENT "caf"
#endif // CAF_LOG_COMPONENT
#define CAF_LOG_IMPL(component, loglvl, message) \
#define CAF_LOG_IMPL(component, loglvl, message) \
do { \
do { \
auto CAF_UNIFYN(caf_logger) = caf::logger::current_logger(); \
auto CAF_UNIFYN(caf_logger) = caf::logger::current_logger(); \
...
...
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