IOS-2456 PEPSessionProvider uses new logger

IOS-2456
Dirk Zimmermann 2 years ago
parent 596285d42c
commit 011bcf4db3

@ -6,8 +6,6 @@
// Copyright © 2017 pp. All rights reserved.
//
#import <os/log.h>
#import "PEPSessionProvider.h"
#import "PEPObjCAdapter+Internal.h"
@ -72,7 +70,6 @@ static PEPInternalSession *s_sessionForMainThread = nil;
{
s_sessionForThreadLock = [NSLock new];
s_sessionForThreadDict = [NSMutableDictionary new];
s_logger = os_log_create("security.pEp.adapter", "PEPSessionProvider");
}
#pragma mark - Lock
@ -120,14 +117,12 @@ static PEPInternalSession *s_sessionForMainThread = nil;
}
if (status != PEPStatusOK) {
os_log_error(s_logger, "could not configure passphrase for new keys: %d", status);
LogError(@"could not configure passphrase for new keys: %d", status);
}
}
#pragma mark -
static os_log_t s_logger;
/**
Assures a session for the main thread is set.
*/

Loading…
Cancel
Save