-
Notifications
You must be signed in to change notification settings - Fork 10
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
Auto-deduce context when no context is given #3
Comments
I did'n get the solution: maybe I make a mistake, but if I not get a specific logger instance $log.getInstance('shiningInstance') , when I use simply $log.info('wellcome') inside MyController the result looks like: It's something to improve, or should I do something different? |
var logger = $log.getInstance('shiningInstance');
logger.info('welcome'); If you write |
I would like to above, in any of my controller, writhe something like: I was thinking there is a way to use $log.info('abc') and the logger take itself the controller name, to produce the logger-enhanced line as configured (controllerName, timestamp...) |
This issue is exactly about what you are looking for. Unfortunately, we have been unable to solve that puzzle yet. |
ah, ok, i was thinking the issue was closed because solved! 👍 |
We would like to take the context from the currently dependent service and its parent module.
The text was updated successfully, but these errors were encountered: