Browse Source

IOS-2456 PEPSessionProvider uses new logger

IOS-2456
Dirk Zimmermann 1 year ago
parent
commit
011bcf4db3
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      pEpObjCAdapter/PEPSessionProvider.m

+ 1
- 6
pEpObjCAdapter/PEPSessionProvider.m View File

@ -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