Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to show parent call in logging format? #62

Closed
frnusmartobjects opened this issue Nov 15, 2017 · 4 comments
Closed

[Question] How to show parent call in logging format? #62

frnusmartobjects opened this issue Nov 15, 2017 · 4 comments
Labels

Comments

@frnusmartobjects
Copy link

frnusmartobjects commented Nov 15, 2017

We have a wrapper around TinyLog library, and when using our methods that delegate to TinyLog, the information that appears in the log for the placeholders {class}, {class_name} and {method} is the one of our wrapper.

Is it possible to select the "call stack level" to use for logging?

@pmwmedia
Copy link
Member

Just use LogEntryForwarder instead of Logger. The class LogEntryForwarder is designed to receive log entries from wrappers and other logging APIs.

@frnusmartobjects
Copy link
Author

Thank you for your help

@pmwmedia
Copy link
Member

You are welcome :-)

@github-actions
Copy link

github-actions bot commented Oct 9, 2022

This closed issue has been locked automatically. However, please feel free to file a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants