WeTransfer / Diagnostics

Allow users to easily share Diagnostics with your support team to improve the flow of fixing bugs.
MIT License
933 stars 53 forks source link

No public read access to var `DiagnosticsLogger.standard.isSetup` #41

Closed davidsteppenbeck closed 4 years ago

davidsteppenbeck commented 4 years ago

There is currently no public read access to var DiagnosticsLogger.standard.isSetup (file DiagnosticsLogger.swift line 40), which could be useful when developing and debugging. I suggest adding public read access using:

/// Whether the logger is setup and ready to use.
public static func isSetUp() -> Bool {
    return standard.isSetup
}
AvdLee commented 4 years ago

Feel free to open a PR for this! It should be really easy to do so :)

davidsteppenbeck commented 4 years ago

OK, happy to contribute!