IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2005, 12:42:30 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psLogMsg.c

    r4316 r4321  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-06-18 03:13:02 $
     14 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-20 22:42:30 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6464 The old log level.
    6565 *****************************************************************************/
    66 psS32 psLogSetLevel(psS32 level)
     66int psLogSetLevel(int level)
    6767{
    6868    // Save old global log level for changing it.
     
    233233   ap
    234234 *****************************************************************************/
    235 void psLogMsgV(const char *name, psS32 level, const char *fmt, va_list ap)
     235void psLogMsgV(const char *name, int level, const char *format, va_list ap)
    236236{
    237237    static psS32 first = 1;       // Flag for calling gethostname()
     
    287287
    288288    default:
    289         psTrace("utils.logMsg", 2, "Invalid logMsg level: %d (%s)\n", level, fmt);
     289        psTrace("utils.logMsg", 2, "Invalid logMsg level: %d (%s)\n", level, format);
    290290        level = (level < 0) ? 0 : 9;
    291291        clevel = level + '0';
     
    335335        char msg[1024];
    336336        char* msgPtr;
    337         vsnprintf(msg,1024, fmt, ap);  // create message
     337        vsnprintf(msg,1024, format, ap);  // create message
    338338
    339339        // detect multiple lines in message and indent each line by 4 spaces.
Note: See TracChangeset for help on using the changeset viewer.