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 2022-02-18 00:34:48 by TunayDurmaz)