IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 498


Ignore:
Timestamp:
Apr 21, 2004, 11:29:20 AM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r497 r498  
    1919#define MAX_LOG_LEVEL 9
    2020static int logDest = PS_LOG_TO_STDERR; // where to log messages
    21 static int logLevel = PS_LOG_INFO; // log all messages at this or above
     21static int logLevel = PS_LOG_INFO;     // log all messages at this or above
    2222/*****************************************************************************
    2323psSetLogLevel(): Set the current log level and return old level.
     
    8282static int log_msg = 1;
    8383/*****************************************************************************
    84     psSetLogFormat(): Set the format of psLogMsg output.
    85  
    86     More precisely, provide a string consisting of the letters
    87  H (host)
    88  L (level)
    89  M (message)
    90  N (name)
    91  T (time).
    92     The default is "HLMNT"
     84    psSetLogFormat(): Set the format of psLogMsg output.  More precisely,
     85    provide a string consisting of the letters {H (host), L (level), M
     86    (message), N (name), T (time)}.  The default is "HLMNT".  This string
     87    determines whether or not they associated type of information will be
     88    included in message logs.  It does not determine the order in which that
     89    information will appear (that order is fixed).
    9390    Input:
    94  fmt: astring specifying the format.
     91 fmt: a string specifying the format.
    9592    Output:
    9693 none.
     
    132129            //     psError(__func__, PS_ERR_UNKNOWN, 1,
    133130            //            "Unknown logging keyword %c", *ptr);
     131            psError(__func__, "Unknown logging keyword %c", *ptr);
    134132            break;
    135133        }
  • trunk/psLib/src/sysUtils/psLogMsg.c

    r497 r498  
    1919#define MAX_LOG_LEVEL 9
    2020static int logDest = PS_LOG_TO_STDERR; // where to log messages
    21 static int logLevel = PS_LOG_INFO; // log all messages at this or above
     21static int logLevel = PS_LOG_INFO;     // log all messages at this or above
    2222/*****************************************************************************
    2323psSetLogLevel(): Set the current log level and return old level.
     
    8282static int log_msg = 1;
    8383/*****************************************************************************
    84     psSetLogFormat(): Set the format of psLogMsg output.
    85  
    86     More precisely, provide a string consisting of the letters
    87  H (host)
    88  L (level)
    89  M (message)
    90  N (name)
    91  T (time).
    92     The default is "HLMNT"
     84    psSetLogFormat(): Set the format of psLogMsg output.  More precisely,
     85    provide a string consisting of the letters {H (host), L (level), M
     86    (message), N (name), T (time)}.  The default is "HLMNT".  This string
     87    determines whether or not they associated type of information will be
     88    included in message logs.  It does not determine the order in which that
     89    information will appear (that order is fixed).
    9390    Input:
    94  fmt: astring specifying the format.
     91 fmt: a string specifying the format.
    9592    Output:
    9693 none.
     
    132129            //     psError(__func__, PS_ERR_UNKNOWN, 1,
    133130            //            "Unknown logging keyword %c", *ptr);
     131            psError(__func__, "Unknown logging keyword %c", *ptr);
    134132            break;
    135133        }
Note: See TracChangeset for help on using the changeset viewer.