Skip to content

Unable to disable() NewtworkLogger #329

@pvohralik

Description

@pvohralik

Hello,
sorry for putting the question here in issues. But I would like to know, if is there any way, how to turn off NetworkLogger. I would like to turn it on/off during app runtime

#if DEBUG
if isNetworkLoggingEnabled {
    NetworkLogger.enableProxy()
} else {
     // How to turn off network logger?
}
 #endif

Sorry for dump question and thank you for any advice :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions