Y2Logger.h File Reference

#include <ycp/y2log.h>

Go to the source code of this file.

Defines

#define y2log_component   "ag_ppd"
#define Y2_DEBUG_YES   1
#define Y2_DEBUG(format, args...)   y2debug(format,##args)
#define Y2_WARNING(format, args...)   y2warning(format,##args)
#define Y2_ERROR(format, args...)
#define Y2_RETURN_FALSE(format, args...)   { y2error(format,##args); return false; }
#define Y2_RETURN_VOID(format, args...)   { y2error(format,##args); return YCPVoid(); }
#define Y2_RETURN_STR(format, args...)   { y2error(format,##args); return ""; }
#define Y2_RETURN_YCP_FALSE(format, args...)   { y2error(format,##args); return YCPBoolean(false); }

Variables

char last_error [1024]


Define Documentation

#define Y2_DEBUG ( format,
args...   )     y2debug(format,##args)

#define Y2_DEBUG_YES   1

#define Y2_ERROR ( format,
args...   ) 

Value:

{\
    y2error(format,##args);\
    snprintf (last_error,1023,format,##args);\
    }

#define Y2_RETURN_FALSE ( format,
args...   )     { y2error(format,##args); return false; }

#define Y2_RETURN_STR ( format,
args...   )     { y2error(format,##args); return ""; }

#define Y2_RETURN_VOID ( format,
args...   )     { y2error(format,##args); return YCPVoid(); }

#define Y2_RETURN_YCP_FALSE ( format,
args...   )     { y2error(format,##args); return YCPBoolean(false); }

#define Y2_WARNING ( format,
args...   )     y2warning(format,##args)

#define y2log_component   "ag_ppd"


Variable Documentation

char last_error[1024]


Generated on Tue Nov 28 18:14:51 2006 for yast2-printer by  doxygen 1.5.0