Skip to content

Conversation

@Aske-Rosted
Copy link
Collaborator

This PR adds a wrapper around the base extractor class which is enabled if the root logger level is set to debug.

The wrapper enables recording and logging of the time used whenever the extractor is called. This does produce quite a bit logging but is useful when developing new extractors, in order to determine the time taken for each extractor call.

I do not believe that the debugging level is used very much in any other places inside of GraphNeT.

I am not using an init argument of the base extractor class to enable the timing, as that would require each of the sub-classes to also take this input argument and pass it on to the super class. This can be done if preferred but would require a lot of manual argument passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant