Please use SG_PRINT and SG_SPRINT (static) for prints
SG_DEBUG and SG_SDEBUG for debug messages and 
SG_WARNING, SG_ERROR for warnings and errors