CARLA
Namespaces | Macros | Functions
Logging.h File Reference
#include "carla/Platform.h"
#include <iostream>
+ Include dependency graph for Logging.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carla
 This file contains definitions of common data structures used in traffic manager.
 
 carla::logging
 

Macros

#define LIBCARLA_LOG_LEVEL   LIBCARLA_LOG_LEVEL_INFO
 
#define LIBCARLA_LOG_LEVEL_CRITICAL   50
 
#define LIBCARLA_LOG_LEVEL_DEBUG   10
 
#define LIBCARLA_LOG_LEVEL_ERROR   40
 
#define LIBCARLA_LOG_LEVEL_INFO   20
 
#define LIBCARLA_LOG_LEVEL_NONE   100
 
#define LIBCARLA_LOG_LEVEL_WARNING   30
 
#define LOG_DEBUG_ONLY(code)
 
#define LOG_INFO_ONLY(code)   code
 

Functions

template<typename ... Args>
static void carla::logging::log (Args &&... args)
 
template<typename ... Args>
static void carla::log_critical (Args &&... args)
 
template<typename ... Args>
static void carla::log_debug (Args &&...)
 
template<typename ... Args>
static void carla::log_error (Args &&... args)
 
template<typename ... Args>
static void carla::log_info (Args &&... args)
 
template<typename ... Args>
static void carla::log_warning (Args &&... args)
 
template<typename Arg , typename ... Args>
static LIBCARLA_NOINLINE void carla::logging::write_to_stream (std::ostream &out, Arg &&arg, Args &&... args)
 

Macro Definition Documentation

◆ LIBCARLA_LOG_LEVEL

#define LIBCARLA_LOG_LEVEL   LIBCARLA_LOG_LEVEL_INFO

Definition at line 22 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_CRITICAL

#define LIBCARLA_LOG_LEVEL_CRITICAL   50

Definition at line 15 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_DEBUG

#define LIBCARLA_LOG_LEVEL_DEBUG   10

Definition at line 11 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_ERROR

#define LIBCARLA_LOG_LEVEL_ERROR   40

Definition at line 14 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_INFO

#define LIBCARLA_LOG_LEVEL_INFO   20

Definition at line 12 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_NONE

#define LIBCARLA_LOG_LEVEL_NONE   100

Definition at line 16 of file Logging.h.

◆ LIBCARLA_LOG_LEVEL_WARNING

#define LIBCARLA_LOG_LEVEL_WARNING   30

Definition at line 13 of file Logging.h.

◆ LOG_DEBUG_ONLY

#define LOG_DEBUG_ONLY (   code)

Definition at line 144 of file Logging.h.

◆ LOG_INFO_ONLY

#define LOG_INFO_ONLY (   code)    code

Definition at line 148 of file Logging.h.