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
214e8245
Commit
214e8245
authored
Jul 07, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Respect new output-specific exclude lists
parent
2131e2cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
libcaf_core/src/logger.cpp
libcaf_core/src/logger.cpp
+6
-1
No files found.
libcaf_core/src/logger.cpp
View file @
214e8245
...
@@ -527,13 +527,18 @@ void logger::run() {
...
@@ -527,13 +527,18 @@ void logger::run() {
void
logger
::
handle_file_event
(
const
event
&
x
)
{
void
logger
::
handle_file_event
(
const
event
&
x
)
{
// Print to file if available.
// Print to file if available.
if
(
file_
&&
x
.
level
<=
file_verbosity
())
if
(
file_
&&
x
.
level
<=
file_verbosity
()
&&
none_of
(
file_filter_
.
begin
(),
file_filter_
.
end
(),
[
&
x
](
string_view
name
)
{
return
name
==
x
.
category_name
;
}))
render
(
file_
,
file_format_
,
x
);
render
(
file_
,
file_format_
,
x
);
}
}
void
logger
::
handle_console_event
(
const
event
&
x
)
{
void
logger
::
handle_console_event
(
const
event
&
x
)
{
if
(
x
.
level
>
console_verbosity
())
if
(
x
.
level
>
console_verbosity
())
return
;
return
;
if
(
std
::
any_of
(
console_filter_
.
begin
(),
console_filter_
.
end
(),
[
&
x
](
string_view
name
)
{
return
name
==
x
.
category_name
;
}))
return
;
if
(
cfg_
.
console_coloring
)
{
if
(
cfg_
.
console_coloring
)
{
switch
(
x
.
level
)
{
switch
(
x
.
level
)
{
default:
default:
...
...
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