IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15384 for trunk/psLib


Ignore:
Timestamp:
Oct 25, 2007, 4:40:24 PM (19 years ago)
Author:
Paul Price
Message:

psMessageDestination should not set anything for the log message,
since it is also used to provide a destination for the trace messages.

File:
1 edited

Legend:

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

    r11668 r15384  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2007-02-06 21:36:09 $
     13 *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2007-10-26 02:40:24 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    … …  
    116116    included in message logs.  It does not determine the order in which that
    117117    information will appear (that order is fixed).
    118  
     118
    119119Input:
    120120    fmt: a string specifying the format.
    … …  
    189189    // Special destinations: stdout, stderr
    190190    if (strcasecmp(dest, "stdout") == 0) {
    191         logFD = STDOUT_FILENO;
    192191        return STDOUT_FILENO;
    193192    }
    194193    if (strcasecmp(dest, "stderr") == 0) {
    195         logFD = STDERR_FILENO;
    196194        return STDERR_FILENO;
    197195    }
    … …  
    218216        }
    219217        psFree(protocolLocation);
    220         logFD = fileD;
    221218        return fileD;
    222219    }
    … …  
    376373specified in the "..." argument, to the current message log destination with
    377374the severity specified by the "level" argument.
    378  
     375
    379376Input:
    380377  name: Indicates the source of this log message.
    … …  
    383380        to that string.
    384381  ... The arguments to the above printf-style string.
    385  
     382
    386383Return:
    387384   NULL
Note: See TracChangeset for help on using the changeset viewer.