forked from p_lusterinc_xsync/xsync_fpge
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
415 B
10 lines
415 B
|
|
#pragma once
|
|
#include <stdint.h>
|
|
|
|
void zos_log(const char *fmt, ...);
|
|
|
|
#define ZLOGI(TAG, fmt, ...) zos_log("INFO [%-10s] " fmt "\n", TAG, ##__VA_ARGS__);
|
|
#define ZLOGD(TAG, fmt, ...) zos_log("DEBU [%-10s] " fmt "\n", TAG, ##__VA_ARGS__);
|
|
#define ZLOGE(TAG, fmt, ...) zos_log("ERRO [%-10s] " fmt "\n", TAG, ##__VA_ARGS__);
|
|
#define ZLOGW(TAG, fmt, ...) zos_log("WARN [%-10s] " fmt "\n", TAG, ##__VA_ARGS__);
|