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

        No work has yet been logged on this issue.

          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