IOS-1480 Re-add original message logger. IOS-1480
authorDirk Zimmermann <dz@pep.security>
Thu, 21 Feb 2019 13:42:30 +0100
branchIOS-1480
changeset 1297357149ff6203
parent 1296 520887801fe6
child 1298 cc003fb005c5
IOS-1480 Re-add original message logger.
MessageModel/MessageModel.xcodeproj/project.pbxproj
MessageModel/MessageModel/Util/Log.swift
     1.1 --- a/MessageModel/MessageModel.xcodeproj/project.pbxproj	Thu Feb 21 13:42:30 2019 +0100
     1.2 +++ b/MessageModel/MessageModel.xcodeproj/project.pbxproj	Thu Feb 21 13:42:30 2019 +0100
     1.3 @@ -44,6 +44,7 @@
     1.4  		43AE48E91EEFDD2100B92BB6 /* MergeConflictTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43AE48E81EEFDD2100B92BB6 /* MergeConflictTests.swift */; };
     1.5  		43AE48F41EEFECD400B92BB6 /* NSMergeConflict+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43AE48F31EEFECD400B92BB6 /* NSMergeConflict+Extension.swift */; };
     1.6  		43AE48F81EF01EE900B92BB6 /* NSManagedObject+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43AE48F71EF01EE900B92BB6 /* NSManagedObject+Extension.swift */; };
     1.7 +		43B1B105221EB6C900DB26AB /* Log.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43B1B104221EB6C900DB26AB /* Log.swift */; };
     1.8  		43C32E261DBF9C69007CFB1A /* MessageModelDelegates.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43CB60A21DA4EBB60015281E /* MessageModelDelegates.swift */; };
     1.9  		43CB60911DA4EB4E0015281E /* MessageModelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43CB60901DA4EB4E0015281E /* MessageModelTests.swift */; };
    1.10  		43CB60931DA4EB4E0015281E /* MessageModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 43CB60851DA4EB4E0015281E /* MessageModel.h */; settings = {ATTRIBUTES = (Public, ); }; };
    1.11 @@ -225,6 +226,7 @@
    1.12  		43AE48E81EEFDD2100B92BB6 /* MergeConflictTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MergeConflictTests.swift; sourceTree = "<group>"; };
    1.13  		43AE48F31EEFECD400B92BB6 /* NSMergeConflict+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSMergeConflict+Extension.swift"; sourceTree = "<group>"; };
    1.14  		43AE48F71EF01EE900B92BB6 /* NSManagedObject+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSManagedObject+Extension.swift"; sourceTree = "<group>"; };
    1.15 +		43B1B104221EB6C900DB26AB /* Log.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Log.swift; sourceTree = "<group>"; };
    1.16  		43CB60821DA4EB4E0015281E /* MessageModel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageModel.framework; sourceTree = BUILT_PRODUCTS_DIR; };
    1.17  		43CB60851DA4EB4E0015281E /* MessageModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MessageModel.h; sourceTree = "<group>"; };
    1.18  		43CB60861DA4EB4E0015281E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    1.19 @@ -543,6 +545,7 @@
    1.20  			isa = PBXGroup;
    1.21  			children = (
    1.22  				15865A852031990200F7A4B5 /* PredicateFacories */,
    1.23 +				43B1B104221EB6C900DB26AB /* Log.swift */,
    1.24  				490FF7FD1E795B1500BC15F9 /* Int16+ImapFlagBits.swift */,
    1.25  				433019E11E0181EB00788B89 /* MessageModelConfig.swift */,
    1.26  				B7FE66491DDF1E73008A53BE /* MessageModelData.swift */,
    1.27 @@ -1007,6 +1010,7 @@
    1.28  				43EA4892221E9518006E8F83 /* ErrorPropagator.swift in Sources */,
    1.29  				43EA485F221E9518006E8F83 /* KickOffMySelfProtocol.swift in Sources */,
    1.30  				43EA488F221E9518006E8F83 /* FetchNumberOfNewMailsService.swift in Sources */,
    1.31 +				43B1B105221EB6C900DB26AB /* Log.swift in Sources */,
    1.32  				43EA4850221E9518006E8F83 /* Folder+VirtualMailbox.swift in Sources */,
    1.33  				43EA485E221E9518006E8F83 /* MiscUtil.swift in Sources */,
    1.34  				43EA4869221E9518006E8F83 /* CdMessagePredicateFactory+Extension.swift in Sources */,
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/MessageModel/MessageModel/Util/Log.swift	Thu Feb 21 13:42:30 2019 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +//
     2.5 +//  Log.swift
     2.6 +//  MessageModel
     2.7 +//
     2.8 +//  Created by Dirk Zimmermann on 14/12/16.
     2.9 +//  Copyright © 2016 pEp Security S.A. All rights reserved.
    2.10 +//
    2.11 +
    2.12 +class Log {
    2.13 +    static let shared: MessageModelLogging = MessageModelConfig.logger
    2.14 +}