Namespaces | Defines | Functions
log.h File Reference
#include <matrix.h>
#include <ros/console.h>
Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rosmatlab
namespace  rosmatlab::log

Defines

#define ROSMATLAB_DEBUG(...)   ::rosmatlab::log::log(::rosmatlab::log::Debug, 0, __VA_ARGS__)
#define ROSMATLAB_DEBUG_NAMED(name,...)   ::rosmatlab::log::log(::rosmatlab::log::Debug, name, __VA_ARGS__)
#define ROSMATLAB_ERROR(...)   ::rosmatlab::log::log(::rosmatlab::log::Error, 0, __VA_ARGS__)
#define ROSMATLAB_ERROR_NAMED(name,...)   ::rosmatlab::log::log(::rosmatlab::log::Error, name, __VA_ARGS__)
#define ROSMATLAB_FATAL(...)   ::rosmatlab::log::log(::rosmatlab::log::Fatal, 0, __VA_ARGS__)
#define ROSMATLAB_FATAL_NAMED(name,...)   ::rosmatlab::log::log(::rosmatlab::log::Fatal, name, __VA_ARGS__)
#define ROSMATLAB_INFO(...)   ::rosmatlab::log::log(::rosmatlab::log::Info, 0, __VA_ARGS__)
#define ROSMATLAB_INFO_NAMED(name,...)   ::rosmatlab::log::log(::rosmatlab::log::Info, name, __VA_ARGS__)
#define ROSMATLAB_PRINTF(...)
#define ROSMATLAB_PRINTF_PREFIX   "[ROS] "
#define ROSMATLAB_WARN(...)   ::rosmatlab::log::log(::rosmatlab::log::Warn, 0, __VA_ARGS__)
#define ROSMATLAB_WARN_NAMED(name,...)   ::rosmatlab::log::log(::rosmatlab::log::Warn, name, __VA_ARGS__)

Functions

void rosmatlab::log::log (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
void rosmatlab::log::log (Level level, int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
void rosmatlab::log::log (Level level, const char *name, const char *fmt,...)

Define Documentation

#define ROSMATLAB_DEBUG (   ...)    ::rosmatlab::log::log(::rosmatlab::log::Debug, 0, __VA_ARGS__)

Definition at line 54 of file log.h.

#define ROSMATLAB_DEBUG_NAMED (   name,
  ... 
)    ::rosmatlab::log::log(::rosmatlab::log::Debug, name, __VA_ARGS__)

Definition at line 60 of file log.h.

#define ROSMATLAB_ERROR (   ...)    ::rosmatlab::log::log(::rosmatlab::log::Error, 0, __VA_ARGS__)

Definition at line 57 of file log.h.

#define ROSMATLAB_ERROR_NAMED (   name,
  ... 
)    ::rosmatlab::log::log(::rosmatlab::log::Error, name, __VA_ARGS__)

Definition at line 63 of file log.h.

#define ROSMATLAB_FATAL (   ...)    ::rosmatlab::log::log(::rosmatlab::log::Fatal, 0, __VA_ARGS__)

Definition at line 58 of file log.h.

#define ROSMATLAB_FATAL_NAMED (   name,
  ... 
)    ::rosmatlab::log::log(::rosmatlab::log::Fatal, name, __VA_ARGS__)

Definition at line 64 of file log.h.

#define ROSMATLAB_INFO (   ...)    ::rosmatlab::log::log(::rosmatlab::log::Info, 0, __VA_ARGS__)

Definition at line 55 of file log.h.

#define ROSMATLAB_INFO_NAMED (   name,
  ... 
)    ::rosmatlab::log::log(::rosmatlab::log::Info, name, __VA_ARGS__)

Definition at line 61 of file log.h.

#define ROSMATLAB_PRINTF (   ...)
Value:
mexPrintf(ROSMATLAB_PRINTF_PREFIX); \
  mexPrintf(__VA_ARGS__); \
  mexPrintf("\n")

Definition at line 49 of file log.h.

#define ROSMATLAB_PRINTF_PREFIX   "[ROS] "

Definition at line 35 of file log.h.

#define ROSMATLAB_WARN (   ...)    ::rosmatlab::log::log(::rosmatlab::log::Warn, 0, __VA_ARGS__)

Definition at line 56 of file log.h.

#define ROSMATLAB_WARN_NAMED (   name,
  ... 
)    ::rosmatlab::log::log(::rosmatlab::log::Warn, name, __VA_ARGS__)

Definition at line 62 of file log.h.



rosmatlab
Author(s): Johannes Meyer
autogenerated on Fri Jul 25 2014 06:08:36