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

method and class name functions not properly implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • None
    • Layout
    • None
    • REHL 5, X86_64

    Description

      You can specify %M and %C in the ConversionPattern which is intended to display the Method Name and Class Name (not documented but it is implemented). The implementation for these functions (in src/main/cpp/locationinfo.cpp) in correctly handles the case where the _PRETTY_FUNCTION_ returns the return type for a function i.e.:

      std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > fooNamespace::Foo::vecFunction()

      Attachments

        1. locationinfo_fix.patch
          1 kB
          Christoph Keller

        Activity

          People

            carnold@apache.org Curt Arnold
            hali Haider Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: