Log4cxx
  1. Log4cxx
  2. LOGCXX-24

Class and module name not available in LogEvent

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      The LOG4CXX_DEBUG and similar macros pass _FILE_ and _LINE_ to the underlying Logger method, but the class name and method are not available. I've added log4cxx::spi::location::LocationInfo mimicing the corresponding log4j class as part of LOGCXX-18 (stream based API) that I'd expect to use in resolving this bug, however since it will require an API change, this bug will be deferred to 0.9.9.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Curt Arnold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development