Sha256: dad340f7b837414316a62d2e3d7fcf9e8a34c75ce614c3b411fe782a495ee0aa

Contents?: true

Size: 711 Bytes

Versions: 3

Compression:

Stored size: 711 Bytes

Contents

/* -*- c -*- 
 * File: log.h
 * Author: Igor Vlasenko <vlasenko@imath.kiev.ua>
 * Created: Thu Sep  1 17:17:37 2005
 *
 * $Id$
 */

/* based on FFmpeg av_log API */

#include "pabidecl.h"
#include "pmiscdef.h"
#include <stdarg.h>

#define TMPL_LOG_QUIET -1
#define TMPL_LOG_ERROR 0
#define TMPL_LOG_INFO 1
#define TMPL_LOG_DEBUG 2
#define TMPL_LOG_DEBUG2 3

extern TMPLPRO_LOCAL void tmpl_log(int level, const char *fmt, ...) FORMAT_PRINTF(2,3);

extern TMPLPRO_LOCAL void tmpl_vlog(int level, const char *fmt, va_list);
extern TMPLPRO_LOCAL  int tmpl_log_get_level(void);
extern TMPLPRO_LOCAL void tmpl_log_set_level(int);
extern TMPLPRO_LOCAL void tmpl_log_set_callback(void (*)(int, const char*, va_list));

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html-template-pro-0.0.3 ext/html/template/tmpllog.h
html-template-pro-0.0.2 ext/html/template/internal/tmpllog.h
html-template-pro-0.0.1 ext/html/template/internal/tmpllog.h