From adc50b0ef7a2ea2b8cf0d4c847c9e6f90fcffd6d Mon Sep 17 00:00:00 2001 From: Josef Zoller Date: Tue, 9 Oct 2018 23:29:34 +0200 Subject: [PATCH] Changed debug message file locations to StORMDebug.location --- Sources/CouchDBStORM.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CouchDBStORM.swift b/Sources/CouchDBStORM.swift index 32d266c..43738c0 100644 --- a/Sources/CouchDBStORM.swift +++ b/Sources/CouchDBStORM.swift @@ -49,7 +49,7 @@ open class CouchDBStORM: StORM, StORMProtocol { } private func printDebug(_ statement: String, _ params: [String]) { - if StORMdebug { print("StORM Debug: \(statement) : \(params.joined(separator: ", "))") } + if StORMDebug.active { print("StORM Debug: \(statement) : \(params.joined(separator: ", "))") } } /// Populates a CouchDB object with the required authentication and connector information.