~oif-packaging/grail/raring

« back to all changes in this revision

Viewing changes to src/log.h

  • Committer: Chase Douglas
  • Date: 2012-06-21 20:30:14 UTC
  • mto: This revision was merged to the branch mainline in revision 234.
  • Revision ID: chase.douglas@ubuntu.com-20120621203014-g2uhy6mg779aufop
Rename utouch-grail to grail

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 *
3
 
 * utouch-grail - Multitouch Gesture Recognition Library
 
3
 * grail - Multitouch Gesture Recognition Library
4
4
 *
5
5
 * Copyright (C) 2011-2012 Canonical Ltd.
6
6
 *
18
18
 *
19
19
 ****************************************************************************/
20
20
 
21
 
#ifndef UTOUCH_GRAIL_LOG_H_
22
 
#define UTOUCH_GRAIL_LOG_H_
 
21
#ifndef GRAIL_LOG_H_
 
22
#define GRAIL_LOG_H_
23
23
 
24
24
#include <iostream>
25
25
 
26
 
namespace utouch {
 
26
namespace oif {
27
27
namespace grail {
28
28
 
29
29
class NullStreamBuf : public std::streambuf {
54
54
};
55
55
 
56
56
} // namespace grail
57
 
} // namespace utouch
 
57
} // namespace oif
58
58
 
59
 
#define LOG(level) utouch::grail::Logger::Log(utouch::grail::Logger::level) \
 
59
#define LOG(level) oif::grail::Logger::Log(oif::grail::Logger::level) \
60
60
    << "(" << __FILE__ << ":" << __func__ << ":" << __LINE__ << "): "
61
61
 
62
 
#endif // UTOUCH_GRAIL_LOG_H_
 
62
#endif // GRAIL_LOG_H_