MLT
7.28.0
|
logging functions More...
#include "mlt_log.h"
#include "mlt_service.h"
#include <string.h>
#include <sys/time.h>
#include <time.h>
Functions | |
void | default_callback (void *ptr, int level, const char *fmt, va_list vl) |
int | mlt_log_get_level (void) |
void | mlt_log_set_callback (void(*new_callback)(void *, int, const char *, va_list)) |
void | mlt_log_set_level (int level) |
int64_t | mlt_log_timings_now (void) |
void | mlt_vlog (void *service, int level, const char *fmt, va_list vl) |
Variables | |
static void(* | callback )(void *, int, const char *, va_list) |
static int | log_level = MLT_LOG_WARNING |
logging functions
Copyright (C) 2004-2014 Meltytech, LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
void default_callback | ( | void * | ptr, |
int | level, | ||
const char * | fmt, | ||
va_list | vl | ||
) |
int mlt_log_get_level | ( | void | ) |
void mlt_log_set_callback | ( | void(*)(void *, int, const char *, va_list) | new_callback | ) |
void mlt_log_set_level | ( | int | level | ) |
int64_t mlt_log_timings_now | ( | void | ) |
void mlt_vlog | ( | void * | service, |
int | level, | ||
const char * | fmt, | ||
va_list | vl | ||
) |
|
staticdefault |
|
static |