Skip to content

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

@julianstirling

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

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions