mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
43 lines
592 B
Objective-C
43 lines
592 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSLogger.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@implementation OWSLogger
|
|
|
|
+ (void)verbose:(NSString *)logString
|
|
{
|
|
DDLogVerbose(@"%@", logString);
|
|
}
|
|
|
|
+ (void)debug:(NSString *)logString
|
|
{
|
|
DDLogDebug(@"%@", logString);
|
|
}
|
|
|
|
+ (void)info:(NSString *)logString
|
|
{
|
|
DDLogInfo(@"%@", logString);
|
|
}
|
|
|
|
+ (void)warn:(NSString *)logString
|
|
{
|
|
DDLogWarn(@"%@", logString);
|
|
}
|
|
|
|
+ (void)error:(NSString *)logString
|
|
{
|
|
DDLogError(@"%@", logString);
|
|
}
|
|
|
|
+ (void)flush
|
|
{
|
|
[DDLog flushLog];
|
|
}
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|