NAO documentation
|
C++ Libraries
|
index
libqi
1.14
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
qi
log
tailfileloghandler.hpp
1
/*
2
* Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
3
* Use of this source code is governed by a BSD-style license that can be
4
* found in the COPYING file.
5
*/
6
7
#pragma once
8
#ifndef _LIBQI_QI_LOG_TAILFILELOGHANDLER_HPP_
9
#define _LIBQI_QI_LOG_TAILFILELOGHANDLER_HPP_
10
11
# include <
qi/log.hpp
>
12
# include <string>
13
14
namespace
qi {
15
namespace
log
{
16
class
PrivateTailFileLogHandler;
17
22
class
QI_API
TailFileLogHandler
23
{
24
public
:
25
TailFileLogHandler
(
const
std::string &filePath);
26
virtual
~
TailFileLogHandler
();
27
28
void
log
(
const
qi::log::LogLevel
verb,
29
const
qi::os::timeval
date,
30
const
char
*category,
31
const
char
*msg,
32
const
char
*file,
33
const
char
*fct,
34
const
int
line);
35
36
private
:
37
QI_DISALLOW_COPY_AND_ASSIGN
(
TailFileLogHandler
);
38
PrivateTailFileLogHandler* _private;
39
};
// !TailFileLogHandler
40
41
};
// !log
42
};
// !qi
43
44
#endif // _LIBQI_QI_LOG_TAILFILELOGHANDLER_HPP_
Copyright Aldebaran Robotics