Is your feature request related to a problem? Please describe.
Action code often starts up code that happens in utility functions that don't have access to the ThingLogger, as self.logger in the same way an Action does.
Describe the solution you'd like
Add a convenience method such as lt.get_action_logger() to get an instance of the correct logger.
Describe alternatives you've considered
Workarounds include:
- Passing the thing logger
- Using
getLogger with the correct log name
Is your feature request related to a problem? Please describe.
Action code often starts up code that happens in utility functions that don't have access to the ThingLogger, as
self.loggerin the same way an Action does.Describe the solution you'd like
Add a convenience method such as
lt.get_action_logger()to get an instance of the correct logger.Describe alternatives you've considered
Workarounds include:
getLoggerwith the correct log name