logger.h

Go to the documentation of this file.
00001 
00002 #ifndef __LOGGER__
00003 #define __LOGGER__
00004 /* LOGGER.h */
00005 
00006 #define _LOGGER_STDERR 1
00007 #define _LOGGER_STDOUT 2
00008 #define _LOGGER_FILE   3
00009 /* #ifndef _MSC_VER */
00010 #define _LOGGER_SYSLOG 4
00011 /* #endif */
00012 
00013 #ifndef FL
00014 #define FL __FILE__,__LINE__
00015 #endif
00016 
00017 int LOGGER_log( char *format, ...);
00018 int LOGGER_set_output_mode( int modechoice );
00019 int LOGGER_set_output_file( FILE *f );
00020 int LOGGER_set_syslog_mode( int syslogmode );
00021 int LOGGER_set_logfile( char *lfname );
00022 int LOGGER_set_wraplength( int length );
00023 int LOGGER_set_wrap( int level );
00024 
00025 int LOGGER_close_logfile( void );
00026 FILE *LOGGER_get_file( void );
00027 
00028 int LOGGER_clean_output( char *string, char **buffer );
00029 #endif

Generated on Sun Mar 4 15:03:49 2007 for Scilab [trunk] by  doxygen 1.5.1