IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2005, 11:40:21 AM (21 years ago)
Author:
Paul Price
Message:

psLogSetFormat returns a bool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_050513/psLib/src/sysUtils/psLogMsg.c

    r3476 r3926  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-03-22 21:52:49 $
     13 *  @version $Revision: 1.39.8.1 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-05-13 21:40:21 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    173173    NULL.
    174174 *****************************************************************************/
    175 void psLogSetFormat(const char *fmt)
     175bool psLogSetFormat(const char *fmt)
    176176{
    177177    // assume nothing desired unless specified
     
    184184    // if fmt is NULL, no logging is desired.
    185185    if (fmt == NULL) {
    186         return;
     186        return true;   // No problems encountered in parsing
    187187    }
    188188
     
    224224    if (!logMsg) {
    225225        psTrace("utils.logMsg", 1, "You must at least log error messages (You chose \"%s\")", fmt);
    226     }
     226        return false;
     227    }
     228
     229    return true;   // No problems
    227230}
    228231
Note: See TracChangeset for help on using the changeset viewer.