#include <cstdio>
#include <iostream>
Go to the source code of this file.
Macros | |
#define | DEBUG(...) fprintf(stdout, "DEBUG> "); fprintf(stdout, __VA_ARGS__); fprintf(stdout, "\n") |
#define | DEBUG_STREAM(...) std::cout << "DEBUG> " << __VA_ARGS__ << std::endl |
#define | ERROR(...) fprintf(stderr, "ERROR> "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
#define | ERROR_STREAM(...) std::cerr << "ERROR> " << __VA_ARGS__ << std::endl |
#define | FATAL(...) fprintf(stderr, "FATAL> "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
#define | FATAL_STREAM(...) std::cerr << "FATAL> " << __VA_ARGS__ << std::endl |
#define | INFO(...) fprintf(stdout, "INFO > "); fprintf(stdout, __VA_ARGS__); fprintf(stdout, "\n") |
#define | INFO_STREAM(...) std::cout << "INFO > " << __VA_ARGS__ << std::endl |
#define | LOGGING_MACROS_TYPE NODELET_LOGGING_MACROS |
#define | NODELET_LOGGING_MACROS 2 |
#define | ROS_LOGGING_MACROS 1 |
#define | STD_LOGGING_MACROS 0 |
#define | WARN(...) fprintf(stderr, "WARN > "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
#define | WARN_STREAM(...) std::cerr << "WARN > " << __VA_ARGS__ << std::endl |
#define DEBUG | ( | ... | ) | fprintf(stdout, "DEBUG> "); fprintf(stdout, __VA_ARGS__); fprintf(stdout, "\n") |
Definition at line 99 of file logging_macros.hpp.
#define DEBUG_STREAM | ( | ... | ) | std::cout << "DEBUG> " << __VA_ARGS__ << std::endl |
Definition at line 104 of file logging_macros.hpp.
#define ERROR | ( | ... | ) | fprintf(stderr, "ERROR> "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
Definition at line 102 of file logging_macros.hpp.
#define ERROR_STREAM | ( | ... | ) | std::cerr << "ERROR> " << __VA_ARGS__ << std::endl |
Definition at line 107 of file logging_macros.hpp.
#define FATAL | ( | ... | ) | fprintf(stderr, "FATAL> "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
Definition at line 103 of file logging_macros.hpp.
#define FATAL_STREAM | ( | ... | ) | std::cerr << "FATAL> " << __VA_ARGS__ << std::endl |
Definition at line 108 of file logging_macros.hpp.
#define INFO | ( | ... | ) | fprintf(stdout, "INFO > "); fprintf(stdout, __VA_ARGS__); fprintf(stdout, "\n") |
Definition at line 100 of file logging_macros.hpp.
#define INFO_STREAM | ( | ... | ) | std::cout << "INFO > " << __VA_ARGS__ << std::endl |
Definition at line 105 of file logging_macros.hpp.
#define LOGGING_MACROS_TYPE NODELET_LOGGING_MACROS |
Definition at line 59 of file logging_macros.hpp.
#define NODELET_LOGGING_MACROS 2 |
Definition at line 58 of file logging_macros.hpp.
#define ROS_LOGGING_MACROS 1 |
Definition at line 57 of file logging_macros.hpp.
#define STD_LOGGING_MACROS 0 |
This header allows potentially ROS-agnostic code to either use ROS logging mechanisms, ROS nodelet logging mechanisms, or standard output mechanisms.
Definition at line 56 of file logging_macros.hpp.
#define WARN | ( | ... | ) | fprintf(stderr, "WARN > "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n") |
Definition at line 101 of file logging_macros.hpp.
#define WARN_STREAM | ( | ... | ) | std::cerr << "WARN > " << __VA_ARGS__ << std::endl |
Definition at line 106 of file logging_macros.hpp.