- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
androidloghandler.hpp
Go to the documentation of this file.
1 #pragma once
2 /*
3 * Copyright (c) 2016 Aldebaran Robotics. All rights reserved.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the COPYING file.
6 */
7
8 #ifndef _QI_LOG_ANDROIDLOGHANDLER_HPP_
9 #define _QI_LOG_ANDROIDLOGHANDLER_HPP_
10
11 #include <qi/log.hpp>
12 #include <boost/function.hpp>
13
14 namespace qi
15 {
16 namespace log
17 {
24 Handler makeAndroidLogHandler();
25
26 } // namespace log
27 } // namespace qi
28
29 #endif // _QI_LOG_ANDROIDLOGHANDLER_HPP_
qi::log::log
void log(const qi::LogLevel verb, const char *category, const char *msg, const char *file="", const char *fct="", const int line=0)
Log function. You should call qiLog* macros instead.
qi::log::makeAndroidLogHandler
Handler makeAndroidLogHandler()
create a log handler which redirect logs to android log system.
qi::log::Handler
boost::function8< void, const qi::LogLevel, const qi::Clock::time_point, const qi::SystemClock::time_point, const char *, const char *, const char *, const char *, int > Handler
Boost delegate to log function (verbosity lv, dates of log, category, message, file, function, line).
Definition: log.hpp:243
log.hpp
Convenient log macro.