Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-213

trace method implementation is missing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      log4cxx r600053 on Asianux 1.0

      Description

      trace method implementation is missing in logger.cpp which results in a linker error when directly using the method.

      Implementation which needs to be added:

      void Logger::trace(const std::string& msg, const log4cxx::spi::LocationInfo& location) {
      if (isEnabledFor(log4cxx::Level::getTrace()))

      { forcedLog(log4cxx::Level::getTrace(), msg, location); }

      }

      #if LOG4CXX_HAS_WCHAR_T
      void Logger::trace(const std::wstring& msg, const log4cxx::spi::LocationInfo& location) {
      if (isEnabledFor(log4cxx::Level::getTrace()))

      { forcedLog(log4cxx::Level::getTrace(), msg, location); }

      }
      #endif

      void Logger::trace(const std::string& msg) {
      if (isEnabledFor(log4cxx::Level::getTrace()))

      { forcedLog(log4cxx::Level::getTrace(), msg); }

      }

      #if LOG4CXX_HAS_WCHAR_T
      void Logger::trace(const std::wstring& msg) {
      if (isEnabledFor(log4cxx::Level::getTrace()))

      { forcedLog(log4cxx::Level::getTrace(), msg); }

      }
      #endif

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              sugimoto Daisuke Sugimoto
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: