|  | AppEasy Core SDK
    1.5.0
    Cross platform mobile and desktop app and game development SDK - The easy way to make apps | 
Error logging class. More...
#include <CzDebug.h>
| Static Public Member Functions | |
| static void | Init () | 
| Initialise the debug output system. | |
| static void | Log (int channel, const char *message, const char *data=NULL) | 
| Logs debug errors. | |
| static void | Log (int channel, const char *message, const char *data1, const char *data2) | 
| Logs debug errors. | |
| static void | Log (int channel, const char *message, const char *file, int line) | 
| Logs debug errors. | |
| static void | Log (int channel, const char *message, const char *data, const char *file, int line) | 
| Logs debug errors. | |
Error logging class.
Error logging uses the concept of channels. A channel dtermines how the printed information will be prefixed. Currently available channels include:
You can add your own prefixes by updating g_CzChannelName
| void CzDebug::Init | ( | ) |  [static] | 
Initialise the debug output system.
| void CzDebug::Log | ( | int | channel, | 
| const char * | message, | ||
| const char * | data = NULL | ||
| ) |  [static] | 
Logs debug errors.
| channel | The channel. | 
| message | The message. | 
| data | The extra data to output. | 
| void CzDebug::Log | ( | int | channel, | 
| const char * | message, | ||
| const char * | data1, | ||
| const char * | data2 | ||
| ) |  [static] | 
Logs debug errors.
| channel | The channel. | 
| message | The message. | 
| data1 | The extra data to output. | 
| data2 | The extra data to output. | 
| void CzDebug::Log | ( | int | channel, | 
| const char * | message, | ||
| const char * | file, | ||
| int | line | ||
| ) |  [static] | 
Logs debug errors.
| channel | The channel. | 
| message | The message. | 
| file | The file name where the info, error or warning took place. | 
| line | The line number wher ethe info, error or warning took place. | 
| void CzDebug::Log | ( | int | channel, | 
| const char * | message, | ||
| const char * | data, | ||
| const char * | file, | ||
| int | line | ||
| ) |  [static] | 
Logs debug errors.
| channel | The channel. | 
| message | The message. | 
| data | The extra data to output. | 
| file | The file name where the info, error or warning took place. | 
| line | The line number where the info, error or warning took place. |