Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
RFLogManager.h
1
#ifndef RFLOGMANAGER_H
2
#define RFLOGMANAGER_H
3
//+
4
// File : RFLogManager.h
5
// Description : Various logging functions
6
//
7
// Author : Ryosuke Itoh, IPNS, KEK
8
// Date : 12 - Jul - 2013
9
//-
10
11
#include <stdio.h>
12
13
namespace
Belle2
{
18
class
RFLogManager
{
19
public
:
20
RFLogManager
(
const
char
* prefix,
const
char
* lognode = NULL,
const
char
* logdir = NULL);
21
~
RFLogManager
();
22
23
// Read messages from fd and log them
24
int
ProcessLog(
int
fd);
25
26
// Logger functions
27
void
Log(
const
char
* fmt, ...);
28
void
Info(
const
char
* fmt, ...);
29
void
Warning(
const
char
* fmt, ...);
30
void
Error(
const
char
* fmt, ...);
31
void
Fatal(
const
char
* fmt, ...);
32
void
Abort(
const
char
* fmt, ...);
33
34
// Basic interface
35
void
Write(
const
char
* msg);
36
char
* BuildMessage(
const
char
* fmt, ...);
37
38
private
:
39
int
today();
40
void
timestamp(
char
*);
41
int
WriteLog(
const
char
* type,
const
char
* msg);
42
int
OpenLogFile(
int
today);
43
int
SwitchLogFile();
44
45
private
:
46
int
m_logdate;
47
char
m_logdir[1024];
48
char
m_id[256];
49
char
m_strbuf[1024];
50
int
m_fd;
51
char
m_lognode[1024];
52
53
};
54
56
}
57
#endif
58
Belle2::RFLogManager
Definition:
RFLogManager.h:18
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
daq
rfarm
manager
include
RFLogManager.h
Generated on Tue Jan 4 2022 02:54:01 for Belle II Software by
1.8.17