aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
blob: a426289dbc816cbb412edff55554a2ef2db593b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef IMV_LOG_H
#define IMV_LOG_H

enum imv_log_level {
  IMV_DEBUG,
  IMV_INFO,
  IMV_WARNING,
  IMV_ERROR
};

void imv_log_set_level(enum imv_log_level level);

void imv_log(enum imv_log_level level, const char *fmt,  ...);

#endif