nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
nds_logging.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLL_EXPORT
 
#define NDS_LOG_BAD_GROUP   -1
 
#define NDS_LOG_GROUP_CONNECTION   0
 
#define NDS_LOG_GROUP_VERBOSE_ERRORS   1
 
#define NDS_LOG_GROUP_TRACE_ENTRY_EXIT   2
 
#define NDS_LOG_GROUP_STATUS_UPDATE   3
 
#define NDS_LOG_GROUP_USER   4
 
#define NDS_LOG_GROUP_SIZE_MAX   5
 
#define NDS_LOGGING_HELPER_ENTRY   nds_logging_helper_init
 
#define STRING_IT(x)   #x
 
#define XSTRING_IT(x)   STRING_IT( x )
 
#define NDS_LOGGING_HELPER_ENTRY_STRING   XSTRING_IT( NDS_LOGGING_HELPER_ENTRY )
 

Typedefs

typedef void(* nds_flush_function_type )()
 
typedef void(* nds_logging_function_type )(const char *Message)
 
typedef void(* nds_logging_helper_entry_type )()
 

Functions

DLL_EXPORT void nds_function_flush (nds_flush_function_type Func)
 
DLL_EXPORT void nds_function_logging (nds_logging_function_type Func)
 
DLL_EXPORT int nds_logging_check (int Group, int Level)
 
DLL_EXPORT void nds_logging_enable (int Group)
 
DLL_EXPORT void nds_logging_disable (int Group)
 
DLL_EXPORT int nds_logging_debug_level (int Group, int Level)
 
DLL_EXPORT void nds_logging_flush ()
 
DLL_EXPORT int nds_logging_group_from_string (const char *GroupString)
 
DLL_EXPORT void nds_logging_init ()
 
DLL_EXPORT void nds_logging_printf (const char *MessageFormat,...)
 
DLL_EXPORT void nds_logging_print_errno (const char *Leader)
 

Macro Definition Documentation

#define DLL_EXPORT
#define NDS_LOG_BAD_GROUP   -1
#define NDS_LOG_GROUP_CONNECTION   0
#define NDS_LOG_GROUP_SIZE_MAX   5
#define NDS_LOG_GROUP_STATUS_UPDATE   3
#define NDS_LOG_GROUP_TRACE_ENTRY_EXIT   2
#define NDS_LOG_GROUP_USER   4
#define NDS_LOG_GROUP_VERBOSE_ERRORS   1
#define NDS_LOGGING_HELPER_ENTRY   nds_logging_helper_init
#define NDS_LOGGING_HELPER_ENTRY_STRING   XSTRING_IT( NDS_LOGGING_HELPER_ENTRY )
#define STRING_IT (   x)    #x
#define XSTRING_IT (   x)    STRING_IT( x )

Typedef Documentation

typedef void( * nds_flush_function_type)()
typedef void( * nds_logging_function_type)(const char *Message)
typedef void( * nds_logging_helper_entry_type)()

Function Documentation

DLL_EXPORT void nds_function_flush ( nds_flush_function_type  Func)
DLL_EXPORT void nds_function_logging ( nds_logging_function_type  Func)
DLL_EXPORT int nds_logging_check ( int  Group,
int  Level 
)
DLL_EXPORT int nds_logging_debug_level ( int  Group,
int  Level 
)
DLL_EXPORT void nds_logging_disable ( int  Group)
DLL_EXPORT void nds_logging_enable ( int  Group)
DLL_EXPORT void nds_logging_flush ( )
DLL_EXPORT int nds_logging_group_from_string ( const char *  GroupString)
DLL_EXPORT void nds_logging_init ( )
DLL_EXPORT void nds_logging_print_errno ( const char *  Leader)
DLL_EXPORT void nds_logging_printf ( const char *  MessageFormat,
  ... 
)