projects
/
yandex-traffic
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Log connection state transitions.
[yandex-traffic]
/
log.hpp
1
#ifndef __LOG_H__
2
#define __LOG_H__
3
4
5
class Log
6
{
7
private:
8
QFile *f;
9
10
Log ();
11
void initFile ();
12
13
public:
14
static Log* instance ();
15
16
void add (const QString &line);
17
18
void disable ();
19
void enable ();
20
};
21
22
23
#endif // __LOG_H__