1al_register_trace_handler(3)                      al_register_trace_handler(3)
2
3
4

NAME

6       al_register_trace_handler - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_register_trace_handler(void (*handler)(char const *))
12

DESCRIPTION

14       Register  a  callback which is called whenever Allegro writes something
15       to its log files.  The default logging to allegro.log is disabled while
16       this callback is active.  Pass NULL to revert to the default logging.
17
18       This function may be called prior to al_install_system.
19
20       See  the example allegro5.cfg for documentation on how to configure the
21       used debug channels, logging levels and trace format.
22

SINCE

24       5.1.5
25
26
27
28Allegro reference manual                          al_register_trace_handler(3)
Impressum