file_log.h File Reference

#include "forwards.h"
#include <ros/console.h>
Include dependency graph for file_log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  log4cxx
namespace  log4cxx::helpers
namespace  ros
namespace  ros::file_log
 

internal


Defines

#define ROSCPP_LOG_DEBUG(...)

Typedefs

typedef helpers::ObjectPtrT
< Level > 
log4cxx::LevelPtr
typedef helpers::ObjectPtrT
< Logger > 
log4cxx::LoggerPtr

Functions

log4cxx::LevelPtr ros::file_log::getDebugLevel ()
log4cxx::LoggerPtrros::file_log::getFileOnlyLogger ()
const std::string & ros::file_log::getLogDirectory ()
const std::string & ros::file_log::getLogFilename ()

Define Documentation

#define ROSCPP_LOG_DEBUG ( ...   ) 
Value:
do \
    { \
      ROSCONSOLE_AUTOINIT; \
      ROSCONSOLE_DEFINE_LOCATION(true, ros::console::levels::Debug, ROSCONSOLE_DEFAULT_NAME); \
      \
      if (ROS_UNLIKELY(enabled)) \
      { \
        ROSCONSOLE_PRINT_AT_LOCATION(__VA_ARGS__); \
      } \
      else if (log4cxx::LoggerPtr logger = ros::file_log::getFileOnlyLogger()) \
      { \
        ros::console::print(0, logger, ros::console::levels::Debug, __FILE__, __LINE__, __ROSCONSOLE_FUNCTION__, __VA_ARGS__); \
      } \
    } while(0)

Definition at line 47 of file file_log.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:12 2013