libqi-api  2.8.7.4
 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 {
25 
26 } // namespace log
27 } // namespace qi
28 
29 #endif // _QI_LOG_ANDROIDLOGHANDLER_HPP_
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.
Handler makeAndroidLogHandler()
create a log handler which redirect logs to android log system.
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
Convenient log macro.