priyesh_LogLibrary
parent
f7c5ed5f24
commit
1d6ffcc77a
5 changed files with 127 additions and 15 deletions
@ -0,0 +1,30 @@ |
||||
#include FT_CONFIG_CONFIG_H |
||||
|
||||
FT_BEGIN_HEADER |
||||
|
||||
/***************************************************************************
|
||||
*
|
||||
* If FT_LOGGING is enabled, user can change the trace level at run time
|
||||
* using the function `FT_Trace_Set_Level()` by passing the desired trace |
||||
* level as an argument. |
||||
* User can also set the default trace level which is supplied by
|
||||
* environment variable `FT2_DEBUG` |
||||
*
|
||||
*/
|
||||
|
||||
typedef void |
||||
(*ft_ouput_handler)( const char* string );
|
||||
|
||||
FT_EXPORT( void ) |
||||
FT_Trace_Set_Level( const char* level ); |
||||
|
||||
FT_EXPORT( void ) |
||||
FT_Trace_Set_Default_Level( void ); |
||||
|
||||
FT_EXPORT( void ) |
||||
FT_Trace_Set_Output( ft_ouput_handler handler );
|
||||
|
||||
FT_EXPORT( void ) |
||||
FT_Trace_Set_Default_Output(); |
||||
|
||||
FT_END_HEADER |
Loading…
Reference in new issue