Merge pull request #3293 from AlphaWallet/disable-verbose-logs

Set log level to `debug` (dropping `verbose`)
pull/3299/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit 9f9b0771d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      AlphaWallet/Core/Helpers/RemoteLogger.swift

@ -22,7 +22,7 @@ func verbose(_ message: Any, _ loggger: Logger = DDLogger.instance) {
func error(_ message: Any, _ loggger: Logger = DDLogger.instance) {
loggger.error(message)
}
}
protocol Logger {
func debug(_ message: Any)
@ -92,7 +92,7 @@ final class DDLogger: Logger {
fileLogger.rollingFrequency = 60 * 60 * 24
fileLogger.logFileManager.maximumNumberOfLogFiles = 7
DDLog.add(DDASLLogger.sharedInstance)
DDLog.add(DDASLLogger.sharedInstance, with: .debug)
DDLog.add(fileLogger, with: .info)
}

Loading…
Cancel
Save