Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
fae2d0d5
Commit
fae2d0d5
authored
May 25, 2011
by
Jelte Jansen
Browse files
[trac555] some fixes to make it compile
parent
74402ae4
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lib/log/logger_manager.cc
View file @
fae2d0d5
...
...
@@ -15,6 +15,13 @@
#include
<log/logger_manager_impl.h>
#include
<log/logger_manager.h>
namespace
isc
{
namespace
log
{
void
LoggerManagerImpl
::
processInit
()
{}
void
LoggerManagerImpl
::
processEnd
()
{}
void
LoggerManagerImpl
::
processSpecification
(
const
LoggerSpecification
&
spec
)
{}
// Constructor - create the implementation class.
LoggerManager
::
LoggerManager
()
{
impl_
=
new
LoggerManagerImpl
();
...
...
@@ -42,3 +49,6 @@ void
LoggerManager
::
processEnd
()
{
impl_
->
processEnd
();
}
}
// namespace log
}
// namespace isc
src/lib/log/logger_manager.h
View file @
fae2d0d5
...
...
@@ -15,7 +15,7 @@
#ifndef __LOGGER_MANAGER_H
#define __LOGGER_MANAGER_H
#include
<
/
log/logger_specification.h>
#include
<log/logger_specification.h>
namespace
isc
{
namespace
log
{
...
...
src/lib/log/logger_manager_impl.h
View file @
fae2d0d5
...
...
@@ -48,7 +48,7 @@ public:
/// Processes the specification for a single logger.
///
/// \param spec Logging specification for this logger
void
process
(
const
LoggerSpecification
&
spec
);
void
process
Specification
(
const
LoggerSpecification
&
spec
);
/// \brief End Processing
///
...
...
src/lib/log/logger_specification.h
View file @
fae2d0d5
...
...
@@ -29,6 +29,8 @@
/// Unlike OutputOption (which is a struct), this contains a bit more
/// structure and is concealed in a class.
#include
<vector>
namespace
isc
{
namespace
log
{
...
...
src/lib/log/tests/logger_manager_unittest.cc
View file @
fae2d0d5
...
...
@@ -153,7 +153,7 @@ void checkFileContents(const std::string& filename, T start, T finish) {
}
// Check that the logger correctly creates something logging to a file.
TEST_F
(
LoggerManagerTest
,
FileLogger
)
{
TEST_F
(
LoggerManagerTest
,
DISABLED_
FileLogger
)
{
// Create a specification for the file logger and use the manager to
// connect the "filelogger" logger to it.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment