GrafX2 2.9.3227
The ultimate 256-color painting program
error and debugging logs

Functions to log error and debugging messages. More...

Enumerations

enum  GFX2_Log_priority_T { GFX2_ERROR = 0 , GFX2_WARNING , GFX2_INFO , GFX2_DEBUG }
 

Functions

void GFX2_Log (GFX2_Log_priority_T priority, const char *fmt,...)
 Log error or debugging info. More...
 
void GFX2_LogV (GFX2_Log_priority_T priority, const char *fmt, va_list ap)
 
void GFX2_LogHexDump (GFX2_Log_priority_T priority, const char *header, const byte *data, long offset, long count)
 

Variables

GFX2_Log_priority_T GFX2_verbosity_level
 

Detailed Description

Functions to log error and debugging messages.

Enumeration Type Documentation

◆ GFX2_Log_priority_T

Enumerator
GFX2_ERROR 
GFX2_WARNING 
GFX2_INFO 
GFX2_DEBUG 

Function Documentation

◆ GFX2_Log()

void GFX2_Log ( GFX2_Log_priority_T  priority,
const char *  fmt,
  ... 
)

Log error or debugging info.

References GFX2_LogV().

Referenced by Allow_drag_and_drop(), Best_video_mode(), Button_Constraint_mode(), Button_Load_or_Save(), Button_Message_initial(), Button_Stats(), C64_isBinaryProgram(), C64_LoadPrg(), C64_mem_read(), C64_mem_write(), C64_pixels_to_FLI(), C64_unpack_amica(), C64_unpack_doodle(), C64_unpack_draz(), Change_directory(), Check_block_constraints(), Convert_to_dhgr(), Convert_to_hgr(), CPC_check_AMSDOS(), Decode_NewIcons(), Define_icon(), Dialog_multiple_choice(), directory_callback(), Dropdown_activate(), Encode_C64_multicolor(), Extract_path(), For_each_directory_entry(), For_each_file(), Get_config_directory(), Get_current_directory(), Get_GFX2_Surface_pixel(), Get_input(), Get_Key_modifiers(), Get_program_directory(), Get_Screen_pixel(), Get_Screen_pixel_ptr(), Get_Unicode_Filename(), GFX2_DiskFreeSpace(), GFX2_GetTextClipboard(), GFX2_LogHexDump(), GFX2_malloc_and_log(), GFX2_MessageBox(), GFX2_OpenURL(), GFX2_Set_mode(), GIF_get_next_code(), Init_mode_video(), Init_program(), Init_Win32(), LBM_Decode(), Load_2GS(), Load_BMP(), Load_BMP_Pixels(), Load_CA1(), Load_CFG(), Load_ClipBoard_Image(), Load_FLI(), Load_GIF(), Load_GPL(), Load_GPX(), Load_GRB(), Load_ICO(), Load_IFF(), Load_image(), Load_INFO(), Load_INI(), Load_MOTO(), Load_MSX(), Load_NEO(), Load_PC1(), Load_PCX(), Load_PI1(), Load_PKM(), Load_PNG_Sub(), Load_Recoil_Image(), Load_SCR(), Load_SCx(), Load_SGX(), Load_TIFF_image(), Load_TIFF_Sub(), Load_TNY(), lTIFF_map(), lTIFF_read(), lTIFF_seek(), lTIFF_size(), lTIFF_unmap(), lTIFF_write(), main(), Memory_free(), MOTO_Check_binary_file(), MOTO_gamma_correct_RGB_to_MOTO(), MOTO_MAP_pack(), Open_file_read_with_alternate_ext(), Open_file_write(), Open_window(), PackBits_pack_flush(), PackBits_unpack_from_file(), PackBytes_pack_flush(), PBM_Decode(), PI1_code_palette(), PI1_load_ranges(), PNG_memory_flush(), PNG_memory_read(), PNG_memory_write(), PNG_read_unknown_chunk(), raw2crtc(), Read_list_of_drives(), Read_SGX(), Readline_ex_unicode(), Render_text_SFont(), Save_2GS(), Save_background(), Save_C64(), Save_C64_window(), Save_CA1(), Save_CFG(), Save_ClipBoard_Image(), Save_GIF(), Save_GOS(), Save_ICO(), Save_IFF(), Save_INI(), Save_INI_set_values(), Save_MOTO(), Save_MSX(), Save_PRG(), Save_SCR(), Save_SGX_Sub(), Save_TIFF_Sub(), Set_GFX2_Surface_pixel(), Set_mouse_position(), Set_pixel(), Set_Screen_pixel(), Set_video_mode(), Test_BMP(), Test_C64(), Test_C64_Formats(), Test_Calculate_relative_path(), Test_File_exists(), Test_Formats(), Test_GRB(), Test_Load(), Test_MOTO_MAP_pack(), Test_MSX(), Test_Packbits(), Test_Read_Write_bytes(), Test_Realpath(), Test_Save(), Test_SCR(), Test_TNY(), TIFF_Init(), Verbose_message(), Video_AllocateDib(), Win32_Repaint(), Win32_WindowProc(), Window_help(), and Window_help_follow_link().

◆ GFX2_LogV()

void GFX2_LogV ( GFX2_Log_priority_T  priority,
const char *  fmt,
va_list  ap 
)

◆ GFX2_LogHexDump()

void GFX2_LogHexDump ( GFX2_Log_priority_T  priority,
const char *  header,
const byte data,
long  offset,
long  count 
)

Variable Documentation

◆ GFX2_verbosity_level

GFX2_Log_priority_T GFX2_verbosity_level
extern