Skip to content

Conversation

@PiggyGaGa
Copy link
Contributor

simple_log function has wrong parameter logconf, which is not be used in the simple_log, the parameter name should be 'lg_stab' or change 'lg_stab' var as 'logconf' instead

simple_log function has wrong parameter logconf, which is not be used in the simple_log, the parameter name should be 'lg_stab' or change 'lg_stab' var as 'logconf' instead
Copy link
Contributor

@knmcguire knmcguire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing, this is indeed a bug!

Actually it should be the other way around. The function call should have logconf in there and the lg_stab in simple_log should be renamed logconf.

Could you also change it in the sbs code example as well? So to change lg_stab here to logconf:

with SyncLogger(scf, lg_stab) as logger:

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