Skip to content

Moved logger to outside the Class - #6

Merged
sjoelund merged 1 commit into
OpenModelica:masterfrom
grantstephens:master
Feb 25, 2016
Merged

sjoelund merged 1 commit into
OpenModelica:masterfrom
grantstephens:master

Conversation

@grantstephens

Copy link
Copy Markdown
Contributor

By moving the logger to outside the class it stops the logger from adding the same handler each time the class is instantiated. This used to cause the logger to print out the same line multiple times depending on how many times the class had been instantiated but this does not happen with this fix.

sjoelund added a commit that referenced this pull request Feb 25, 2016
Moved logger to outside the Class
@sjoelund
sjoelund merged commit 97a3f30 into OpenModelica:master Feb 25, 2016
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.

2 participants