logger.h 841 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _LOGGER_H_
#define _LOGGER_H_

typedef void logger;

logger *new_framelog(void *event_handler, void *database,
    char *event_name, char *subframe_varname, char *buffer_varname);
logger *new_textlog(void *event_handler, void *database,
    char *event_name, char *format);
logger *new_ttilog(void *event_handler, void *database,
    char *event_name, char *frame_varname, char *subframe_varname,
    char *data_varname, int convert_to_dB);
Cedric Roux's avatar
timelog    
Cedric Roux committed
13
logger *new_timelog(void *event_handler, void *database, char *event_name);
Cedric Roux's avatar
Cedric Roux committed
14
15
logger *new_ticklog(void *event_handler, void *database,
    char *event_name, char *frame_name, char *subframe_name);
16

17
18
void framelog_set_skip(logger *_this, int skip_delay);

19
20
21
#include "view/view.h"

void logger_add_view(logger *l, view *v);
Cedric Roux's avatar
Cedric Roux committed
22
void logger_set_filter(logger *l, void *filter);
23
24

#endif /* _LOGGER_H_ */