X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=log.c;fp=log.c;h=d6df1564126a17c049b3bed2672998a632b8a05e;hb=57790bc8c558ccf2e57b3d973c043088232628c7;hp=81e9251ba06a9d4d8a74cfe6130b4e13efc2c454;hpb=31e615a50b34f67bdf5562ad887415b2ec8796c8;p=libsigrokdecode.git diff --git a/log.c b/log.c index 81e9251..d6df156 100644 --- a/log.c +++ b/log.c @@ -40,8 +40,10 @@ static srd_log_callback_t srd_log_callback = srd_logv; static void *srd_log_callback_data = NULL; /* Log domain (a short string that is used as prefix for all messages). */ +/** @cond PRIVATE */ #define LOGDOMAIN_MAXLEN 30 #define LOGDOMAIN_DEFAULT "srd: " +/** @endcond */ static char srd_log_domain[LOGDOMAIN_MAXLEN + 1] = LOGDOMAIN_DEFAULT; /** @@ -193,6 +195,7 @@ static int srd_logv(void *cb_data, int loglevel, const char *format, return ret; } +/** @private */ SRD_PRIV int srd_log(int loglevel, const char *format, ...) { int ret; @@ -205,6 +208,7 @@ SRD_PRIV int srd_log(int loglevel, const char *format, ...) return ret; } +/** @private */ SRD_PRIV int srd_spew(const char *format, ...) { int ret; @@ -218,6 +222,7 @@ SRD_PRIV int srd_spew(const char *format, ...) return ret; } +/** @private */ SRD_PRIV int srd_dbg(const char *format, ...) { int ret; @@ -231,6 +236,7 @@ SRD_PRIV int srd_dbg(const char *format, ...) return ret; } +/** @private */ SRD_PRIV int srd_info(const char *format, ...) { int ret; @@ -244,6 +250,7 @@ SRD_PRIV int srd_info(const char *format, ...) return ret; } +/** @private */ SRD_PRIV int srd_warn(const char *format, ...) { int ret; @@ -257,6 +264,7 @@ SRD_PRIV int srd_warn(const char *format, ...) return ret; } +/** @private */ SRD_PRIV int srd_err(const char *format, ...) { int ret;