Jpp
19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
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_stream
std::ostringstream m_stream
Definition
log.hh:19
Log::Logger::~Logger
~Logger()
Logger without Jpp.
Definition
jlog.cc:50
Log::Logger::m_level
LogLevel m_level
Definition
log.hh:21
log.hh
Log::cError
@ cError
Definition
log.hh:15
Log::cNotice
@ cNotice
Definition
log.hh:15
Generated by
1.12.0