Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CoMISo
Base
Compare Revisions
18ae9c17c57401252a9a91dce678d88f99e9ff89...f31f6e3ae0a097c2e04bc750589e00ccc972feaf
Commits (1)
allow setting debug output filename
· f31f6e3a
Max Lyon
authored
Mar 19, 2019
f31f6e3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Debug/DebFile.cc
Debug/DebFile.cc
+4
-0
Debug/DebFile.hh
Debug/DebFile.hh
+4
-0
No files found.
Debug/DebFile.cc
View file @
f31f6e3a
...
...
@@ -446,6 +446,10 @@ bool File::console() const { return impl_->console(); }
void
File
::
set_logfile
(
bool
_on
)
{
impl_
->
set_logfile
(
_on
);
}
bool
File
::
logfile
()
const
{
return
impl_
->
logfile
();
}
void
File
::
set_filename
(
const
char
*
const
_flnm
)
{
impl_
->
set_filename
(
_flnm
);
}
void
File
::
close
()
{
impl_
->
close
();
}
}
//namespace Debug
#endif // DEB_ON
Debug/DebFile.hh
View file @
f31f6e3a
...
...
@@ -59,6 +59,10 @@ public:
//! Get if the logfile is turned on/off.
bool
logfile
()
const
;
void
set_filename
(
const
char
*
const
_flnm
);
void
close
();
private:
class
Impl
;
Impl
*
impl_
;
...
...