PipeWire: log.c File Reference

PipeWire 0.3.26

Data Structures | Macros | Functions | Variables
log.c File Reference
Include dependency graph for log.c:

## Data Structures
struct | log_ctx

## Macros
#define | DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_WARN
#define | _log(_c, fmt, ...)

## Functions
| SPA_LOG_IMPL (default_log)
bool | pw_log_is_default (void)
void | pw_log_log_object (enum spa_log_level level, const char *file, int line, const char *func, uint32_t flags, const void *object)

## Variables
SPA_EXPORT enum spa_log_level | pw_log_level = DEFAULT_LOG_LEVEL
| The global log level. More...

## Macro Definition Documentation

## ◆ _log

#define _log | ( |  | _c,
|  |  | fmt,
|  |  | ...
| ) |  |

Value:
pw_log_log(_c->level, _c->file, _c->line, _c->func, \
"%*s" fmt, indent, "", ## __VA_ARGS__)
pw_log::pw_log_log
SPA_EXPORT void pw_log_log(enum spa_log_level level, const char *file, int line, const char *func, const char *fmt,...)
Log a message.
Definition: log.c:93

## ◆ DEFAULT_LOG_LEVEL

#define DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_WARN

## Function Documentation

## ◆ pw_log_is_default()

bool pw_log_is_default | ( | void |  | ) |

## ◆ pw_log_log_object()

void pw_log_log_object | ( | enum spa_log_level | level,
|  | const char * | file,
|  | int | line,
|  | const char * | func,
|  | uint32_t | flags,
|  | const void * | object
| ) |  |

## ◆ SPA_LOG_IMPL()

SPA_LOG_IMPL | ( | default_log |  | ) |

## Variable Documentation

## ◆ pw_log_level

SPA_EXPORT enum spa_log_level pw_log_level = DEFAULT_LOG_LEVEL

The global log level.

Referenced by pw_log::pw_log_set_level().