Jpp
16.0.3
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
DataQueue
log.cc
Go to the documentation of this file.
1
#include "
log.hh
"
2
3
/**
4
* \author cpellegrino
5
*/
6
7
/**
8
Logger without Jpp
9
*/
10
11
#include <iostream>
12
13
Log::Logger::~Logger
()
14
{
15
if
(
m_level
==
cError
) {
16
std::cerr <<
m_stream
.str() <<
'\n'
;
17
}
else
if
(
m_level
==
cNotice
) {
18
std::clog <<
m_stream
.str() <<
'\n'
;
19
}
else
{
20
std::cout <<
m_stream
.str() <<
'\n'
;
21
}
22
}
Log::Logger::m_level
LogLevel m_level
Definition:
log.hh:21
Log::Logger::m_stream
std::ostringstream m_stream
Definition:
log.hh:19
Log::Logger::~Logger
~Logger()
Logger without Jpp.
Definition:
jlog.cc:50
Log::cNotice
Definition:
log.hh:15
log.hh
Log::cError
Definition:
log.hh:15
Generated by
1.8.5