Ignore:
Timestamp:
Sep 5, 2004, 12:56:05 PM (21 years ago)
Author:
bird
Message:

Fixes and bzero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/logstrict.h

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1456 r1457  
    5151 * the default logging device.
    5252 */
    53 #ifdef DEBUG_LOGGING
    5453#ifndef __LIBC_LOG_INSTANCE
    5554#define __LIBC_LOG_INSTANCE NULL
    5655#endif
    57 #endif
     56
    5857
    5958/**
     
    6160 * number before including this file.
    6261 */
    63 #ifdef DEBUG_LOGGING
    6462#ifndef __LIBC_LOG_GROUP
    6563#define __LIBC_LOG_GROUP    0
    6664#error "__LIBC_LOG_GROUP must be defined before including InnoTekLIBC/log.h"
    6765#endif
    68 #endif
     66
     67
     68/** Macro to, in release mode too, log a generic message within a function. */
     69#define LIBCLOG_REL(...) \
     70    __libc_LogMsg(~0, __LIBC_LOG_INSTANCE, __LIBC_LOG_GROUP, __PRETTY_FUNCTION__, __VA_ARGS__)
     71
    6972
    7073/** Macro to log a function entry. */
Note: See TracChangeset for help on using the changeset viewer.