GeNN
4.0.0
GPU enhanced Neuronal Networks (GeNN)
MessageOnlyFormatter.h
Go to the documentation of this file.
1
#pragma once
2
#include <
plog/Record.h
>
3
#include <
plog/Util.h
>
4
5
namespace
plog
6
{
7
class
MessageOnlyFormatter
8
{
9
public
:
10
static
util::nstring
header
()
11
{
12
return
util::nstring
();
13
}
14
15
static
util::nstring
format
(
const
Record
& record)
16
{
17
util::nostringstream
ss;
18
ss << record.
getMessage
() <<
PLOG_NSTR
(
"\n"
);
19
20
return
ss.str();
21
}
22
};
23
}
plog
Definition:
AndroidAppender.h:5
PLOG_NSTR
#define PLOG_NSTR(x)
Definition:
Util.h:43
plog::util::nostringstream
std::ostringstream nostringstream
Definition:
Util.h:57
plog::MessageOnlyFormatter::format
static util::nstring format(const Record &record)
Definition:
MessageOnlyFormatter.h:15
plog::MessageOnlyFormatter
Definition:
MessageOnlyFormatter.h:7
plog::util::nstring
std::string nstring
Definition:
Util.h:56
Util.h
plog::Record
Definition:
Record.h:102
plog::MessageOnlyFormatter::header
static util::nstring header()
Definition:
MessageOnlyFormatter.h:10
Record.h
plog::Record::getMessage
virtual const util::nchar * getMessage() const
Definition:
Record.h:205
include
genn
third_party
plog
Formatters
MessageOnlyFormatter.h
Generated on Mon Mar 25 2019 15:38:08 for GeNN by
1.8.13