[
https://issues.apache.org/jira/browse/LOGCXX-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thorsten Schöning resolved LOGCXX-368.
--------------------------------------
Resolution: Fixed
I applied the patch to trunk.
> method and class name functions not properly implemented
> --------------------------------------------------------
>
> Key: LOGCXX-368
> URL: https://issues.apache.org/jira/browse/LOGCXX-368
> Project: Log4cxx
> Issue Type: Bug
> Components: Layout
> Affects Versions: 0.10.0
> Environment: REHL 5, X86_64
> Reporter: Haider Ali
> Assignee: Curt Arnold
> Priority: Minor
> Attachments: locationinfo_fix.patch
>
>
> 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()
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)