Log4cxx
  1. Log4cxx
  2. LOGCXX-208

isTraceEnabled implemenation missing in logger.cpp (Revision: 592627)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Windows 2003 R2 / Visual Studio 2005

      Description

      isTraceEnabled method implementation is missing in logger.cpp which results in a linker error when directly using the method. Also calling LOG4CXX_TRACE during runtime will result in an error.

      Implementation which needs to be added:

      bool Logger::isTraceEnabled() const
      {
      if(repository == 0 || repository->isDisabled(Level::TRACE_INT))

      { return false; }

      return Level::getTrace()->isGreaterOrEqual(getEffectiveLevel());
      }

        Activity

        Alexander van Doormalen created issue -
        Hide
        Curt Arnold added a comment -

        Missing implementation added in rev 596386. Thanks for the report.

        Show
        Curt Arnold added a comment - Missing implementation added in rev 596386. Thanks for the report.
        Curt Arnold made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.10.0 [ 10782 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 1h 54m 1 Curt Arnold 19/Nov/07 17:50

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Alexander van Doormalen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development