Name

y2debug — Log a message to the y2log.

Synopsis

void y2debug ( string  FORMAT ,
  any  PAR1 ,
  any  PAR2 ,
  any  ... );

Parameters

string FORMAT

any PAR1

any PAR2

any ...

Return

void

Description

Arguments are same as for sformat() builtin. The y2log component is "YCP", so you can control these messages the same way as other y2log messages.

Usage

  y2debug ("%1 is smaller than %2", 7, "13");