CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20050827 17:08:05

Modified files:
        docs           : directfbrc.5.in 
        lib/direct     : Makefile.am conf.h debug.c debug.h dtest.c 
                         messages.c signals.c trace.c types.h 
        src            : directfb.c 
        src/misc       : conf.c 
Added files:
        lib/direct     : log.c log.h 

Log message:
Added low level logging abstraction.

direct_log_create() is used to setup logging for the following types:
- DLT_STDERR  writes all messages to stderr
- DLT_FILE    writes all messages to a file
- DLT_UDP     sends all messages via UDP to a specific host and port

direct_log_destroy() is obvious :)

direct_log_printf() is a printf fashioned funtion to write a message.

direct_log_set_default() sets the default log that is used when
no valid log is passed to direct_log_printf(), as done by all legacy
code for now. If the default is also invalid, stderr is used.

Added runtime options "log-file = <name>" and "log-udp = <host>:<port>"
for configuring the default log.

On the receiver side start e.g.: "netcat -l -p <port> -u"


_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to