[SOLVED] Print to log file?

Vholf3DVholf3D Posts: 63

How can I print a message from a plugin into the log file?

Samples use "printf" but I tried this in places I know my plugin is getting to but nothing is printed.

 

Post edited by Vholf3D on

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,616

    dzApp->log( "text" );
    dzApp->debug( "text" );
    dzApp->warning( "text" );
    --
    DzApp::error(), DzApp::fatal(), and DzApp::verbose() are also possible, but require the use of QMetaObject:invokeMethod() since they did not exist when the 4.5+ SDK was published.
    ---
    There are also qDebug() and DZ_WARNING(), depending on the why behind the question.

  • Vholf3DVholf3D Posts: 63

    thank you!

Sign In or Register to comment.