How to use Log class in EMAN2 to print out error/warning/debugging information?

     LOGERR("out of memory");
     LOGWARN("invalid image size");
     LOGDEBUG("image mean density = %f\n", mean);
     LOGVAR("image size = (%d, %d, %d)\n", nx, ny, nz);

    void foo()
    {
        ENTERFUNC;
        ......
        EXITFUNC;
    }

eman2Log (last edited 2008-11-26 04:42:29 by localhost)