VirtualBox

Changeset 21377 in vbox for trunk/include


Ignore:
Timestamp:
Jul 8, 2009 1:00:22 AM (16 years ago)
Author:
vboxsync
Message:

iprt/log.h,DBGFLog.cpp,VBoxGuest-linux.c: Added RTLogDestinations, RTLogGetDestinations, RTLogGetFlags and RTLogGetGroupSettings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/log.h

    r21374 r21377  
    285285    RTFILE                  File;
    286286    /** Pointer to filename.
    287      * (The memory is allocated in the smae block as RTLOGGER.) */
     287     * (The memory is allocated in the same block as RTLOGGER.) */
    288288    char                   *pszFilename;
    289289    /** Pointer to the group name array.
     
    14451445
    14461446/**
     1447 * Get the current log group settings as a string.
     1448 *
     1449 * @returns VINF_SUCCESS or VERR_BUFFER_OVERFLOW.
     1450 * @param   pLogger             Logger instance (NULL for default logger).
     1451 * @param   pszBuf              The output buffer.
     1452 * @param   cchBuf              The size of the output buffer. Must be greater
     1453 *                              than zero.
     1454 */
     1455RTDECL(int) RTLogGetGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf);
     1456
     1457/**
    14471458 * Updates the group settings for the logger instance using the specified
    14481459 * specification string.
     
    14661477 */
    14671478RTDECL(int) RTLogFlags(PRTLOGGER pLogger, const char *pszVar);
     1479
     1480#ifndef IN_RC
     1481/**
     1482 * Get the current log flags as a string.
     1483 *
     1484 * @returns VINF_SUCCESS or VERR_BUFFER_OVERFLOW.
     1485 * @param   pLogger             Logger instance (NULL for default logger).
     1486 * @param   pszBuf              The output buffer.
     1487 * @param   cchBuf              The size of the output buffer. Must be greater
     1488 *                              than zero.
     1489 */
     1490RTDECL(int) RTLogGetFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf);
     1491
     1492/**
     1493 * Updates the logger desination using the specified string.
     1494 *
     1495 * @returns VINF_SUCCESS or VERR_BUFFER_OVERFLOW.
     1496 * @param   pLogger             Logger instance (NULL for default logger).
     1497 * @param   pszVar              The value to parse.
     1498 */
     1499RTDECL(int) RTLogDestinations(PRTLOGGER pLogger, char const *pszVar);
     1500
     1501/**
     1502 * Get the current log destinations as a string.
     1503 *
     1504 * @returns VINF_SUCCESS or VERR_BUFFER_OVERFLOW.
     1505 * @param   pLogger             Logger instance (NULL for default logger).
     1506 * @param   pszBuf              The output buffer.
     1507 * @param   cchBuf              The size of the output buffer. Must be greater
     1508 *                              than 0.
     1509 */
     1510RTDECL(int) RTLogGetDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf);
     1511#endif /* !IN_RC */
    14681512
    14691513/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette