NEST
main@caf0ae8
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1
/*
2
* logging.h
3
*
4
* This file is part of NEST.
5
*
6
* Copyright (C) 2004 The NEST Initiative
7
*
8
* NEST is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* NEST is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with NEST. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef LOGGING_H
24
#define LOGGING_H
25
29
#define LOG( s, fctn, msg ) nest::kernel().logging_manager.publish_log( ( s ), ( fctn ), ( msg ), __FILE__, __LINE__ )
30
31
32
namespace
nest
33
{
34
35
class
LoggingEvent;
36
class
LoggingDeliverer;
37
39
enum class
VerbosityLevel
40
{
41
ALL
= 0,
42
DEBUG
= 5,
43
STATUS
= 7,
44
INFO
= 10,
45
PROGRESS
= 15,
46
DEPRECATED
= 18,
47
WARNING
= 20,
48
ERROR
= 30,
49
FATAL
= 40,
50
QUIET
= 100
51
};
52
53
typedef
void ( *
deliver_logging_event_ptr
)(
const
LoggingEvent
& e );
54
}
55
56
#endif
nest::LoggingEvent
Definition
logging_event.h:38
nest
Namespace for the NEST simulation kernel.
Definition
beta_normalization_factor.h:33
nest::deliver_logging_event_ptr
void(* deliver_logging_event_ptr)(const LoggingEvent &e)
Definition
logging.h:53
nest::VerbosityLevel
VerbosityLevel
Report only messages at levels higher than chosen level to user or logs. Default INFO.
Definition
logging.h:40
nest::VerbosityLevel::WARNING
@ WARNING
nest::VerbosityLevel::FATAL
@ FATAL
nest::VerbosityLevel::QUIET
@ QUIET
nest::VerbosityLevel::INFO
@ INFO
nest::VerbosityLevel::STATUS
@ STATUS
nest::VerbosityLevel::ERROR
@ ERROR
nest::VerbosityLevel::DEBUG
@ DEBUG
nest::VerbosityLevel::PROGRESS
@ PROGRESS
nest::VerbosityLevel::DEPRECATED
@ DEPRECATED
nest::ALL
@ ALL
Definition
nest_types.h:169
libnestutil
logging.h
Generated on Fri Sep 18 2026 07:43:42 for NEST by
1.9.8