Ignore:
Timestamp:
Jan 25, 2013, 11:34:20 PM (8 years ago)
Author:
jordan
Message:

make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r13815 r13868  
    2727#include "completion.h"
    2828#include "fdlimit.h"
     29#include "log.h"
    2930#include "rpcimpl.h"
    3031#include "session.h"
     
    5051#else
    5152#define dbgmsg(...) \
    52     do { \
    53         if (tr_deepLoggingIsActive ()) \
    54             tr_deepLog (__FILE__, __LINE__, "RPC", __VA_ARGS__); \
    55     } while (0)
     53  do \
     54    { \
     55      if (tr_logGetDeepEnabled ()) \
     56        tr_logAddDeep (__FILE__, __LINE__, "RPC", __VA_ARGS__); \
     57    } \
     58  while (0)
    5659#endif
    5760
     
    14801483
    14811484        if (*result)
    1482             tr_err ("%s", result);
     1485            tr_logAddError ("%s", result);
    14831486        else {
    14841487            /* feed it to the session and give the client a response */
Note: See TracChangeset for help on using the changeset viewer.