Skip to content

Fix logging level in background session log calls#456

Open
jcarroll3 wants to merge 1 commit intodropbox:masterfrom
jcarroll3:log_levels
Open

Fix logging level in background session log calls#456
jcarroll3 wants to merge 1 commit intodropbox:masterfrom
jcarroll3:log_levels

Conversation

@jcarroll3
Copy link

Description:

LogHelper.logBackgroundSession(::) accepts a level parameter for callers that want to log at a level different from the default backgroundSessionLogLevel (the doc comment explicitly says: "For logging something background-session related at a different level than backgroundSessionLogLevel, such as .error"). However, the implementation was ignoring level and always passing backgroundSessionLogLevel to log().

This change passes the caller-supplied level through to log() as intended.

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