Skip to content

Add convenice function to get a copy of the labthings logger #364

Description

@julianstirling

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions