summaryrefslogtreecommitdiffstats
path: root/spa/plugins/support/log-patterns.h
blob: a10b445231c830ef2bedbcec05e0b93df68c177a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef LOG_PATTERNS_H
#define LOG_PATTERNS_H

#include <spa/support/log.h>

struct spa_list;

void support_log_topic_init(struct spa_list *patterns, enum spa_log_level default_level,
			    struct spa_log_topic *t);
int support_log_parse_patterns(struct spa_list *patterns, const char *jsonstr);
void support_log_free_patterns(struct spa_list *patterns);

#endif /* LOG_PATTERNS_H */