Subversion Repositories HomeAutomation

Rev

Rev 1311 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1311 Rev 1314
Line 8... Line 8...
8
#ifndef LOGGER_H_
8
#ifndef LOGGER_H_
9
#define LOGGER_H_
9
#define LOGGER_H_
10
 
10
 
11
#include <string>
11
#include <string>
12
#include <iostream>
12
#include <iostream>
-
 
13
#include "utils/convert.h"
13
#include "utils/Utils.h"
14
#include "utils/string.h"
14
 
15
 
15
namespace atom {
16
namespace atom {
16
namespace utils {
17
namespace utils {
17
 
18
 
18
using namespace std;
19
using namespace std;
Line 22... Line 23...
22
public:
23
public:
23
    Logger();
24
    Logger();
24
    virtual ~Logger();
25
    virtual ~Logger();
25
 
26
 
26
    void setName(string className);
27
    void setName(string className);
-
 
28
 
-
 
29
    static string getFormatedTime();
27
 
30
 
28
    void info(string message);
31
    void info(string message);
29
    void debug(string message);
32
    void debug(string message);
30
    void warn(string message);
33
    void warn(string message);
31
    void error(string message);
34
    void error(string message);