Duplicate :
|
|
Duplicate :
|
When looking for the calling method to display in log files, the new StackWalking API makes it possible to implement filtering not only on the declaring class name, but also on the declaring class itself. SimpleConsoleLogger and LogRecord should take advantage of that to filter out classes implementing System.Logger. This will make it possible to easily implement logger wrappers without having to resort to using logp to preserve the calling class name and method name information.