Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.core
Commits
6bdd0b04
There was a problem fetching the pipeline summary.
Commit
6bdd0b04
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Print-out addresses of logging streams to debug nightlies
parent
53d7e27b
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/core/cpp/logging.cpp
+2
-0
2 additions, 0 deletions
bob/core/cpp/logging.cpp
bob/core/test.cpp
+2
-0
2 additions, 0 deletions
bob/core/test.cpp
with
4 additions
and
0 deletions
bob/core/cpp/logging.cpp
+
2
−
0
View file @
6bdd0b04
...
@@ -52,6 +52,7 @@ struct StdoutOutputDevice: public bob::core::OutputDevice {
...
@@ -52,6 +52,7 @@ struct StdoutOutputDevice: public bob::core::OutputDevice {
#if ((BOOST_VERSION / 100) % 1000) > 35
#if ((BOOST_VERSION / 100) % 1000) > 35
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
mutex
);
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
mutex
);
#endif
#endif
std
::
cout
<<
"[XX] writing to cout at "
<<
(
void
*
)
&
std
::
cout
<<
std
::
endl
;
std
::
cout
.
write
(
s
,
n
);
std
::
cout
.
write
(
s
,
n
);
return
n
;
return
n
;
}
}
...
@@ -64,6 +65,7 @@ struct StderrOutputDevice: public bob::core::OutputDevice {
...
@@ -64,6 +65,7 @@ struct StderrOutputDevice: public bob::core::OutputDevice {
#if ((BOOST_VERSION / 100) % 1000) > 35
#if ((BOOST_VERSION / 100) % 1000) > 35
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
mutex
);
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
mutex
);
#endif
#endif
std
::
cout
<<
"[XX] writing to cerr at "
<<
(
void
*
)
&
std
::
cerr
<<
std
::
endl
;
std
::
cerr
.
write
(
s
,
n
);
std
::
cerr
.
write
(
s
,
n
);
return
n
;
return
n
;
}
}
...
...
This diff is collapsed.
Click to expand it.
bob/core/test.cpp
+
2
−
0
View file @
6bdd0b04
...
@@ -250,6 +250,8 @@ BOB_TRY
...
@@ -250,6 +250,8 @@ BOB_TRY
if
(
!
PyArg_ParseTupleAndKeywords
(
args
,
kwds
,
""
,
kwlist
))
return
0
;
if
(
!
PyArg_ParseTupleAndKeywords
(
args
,
kwds
,
""
,
kwlist
))
return
0
;
std
::
cout
<<
"[XX] redirecting cout at "
<<
(
void
*
)
&
std
::
cout
<<
std
::
endl
;
std
::
cout
<<
"[XX] redirecting cerr at "
<<
(
void
*
)
&
std
::
cerr
<<
std
::
endl
;
_ostream_redirect
out
(
std
::
cout
);
_ostream_redirect
out
(
std
::
cout
);
_ostream_redirect
err
(
std
::
cerr
);
_ostream_redirect
err
(
std
::
cerr
);
...
...
This diff is collapsed.
Click to expand it.
André Anjos
@aanjos
mentioned in commit
6d558ab4
·
8 years ago
mentioned in commit
6d558ab4
mentioned in commit 6d558ab4ff9b9902f984d9e9d0d0f4a70e1700b4
Toggle commit list
André Anjos
@aanjos
mentioned in commit
ed9f2859
·
8 years ago
mentioned in commit
ed9f2859
mentioned in commit ed9f2859fd9e70108e03335a6a4b6a477bc27307
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment