mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
592 B
Matlab
44 lines
592 B
Matlab
8 years ago
|
//
|
||
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
9 years ago
|
|
||
|
#import "OWSLogger.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@implementation OWSLogger
|
||
|
|
||
|
+ (void)verbose:(NSString *)logString
|
||
|
{
|
||
8 years ago
|
DDLogVerbose(@"%@", logString);
|
||
9 years ago
|
}
|
||
|
|
||
|
+ (void)debug:(NSString *)logString
|
||
|
{
|
||
8 years ago
|
DDLogDebug(@"%@", logString);
|
||
9 years ago
|
}
|
||
|
|
||
|
+ (void)info:(NSString *)logString
|
||
|
{
|
||
8 years ago
|
DDLogInfo(@"%@", logString);
|
||
9 years ago
|
}
|
||
|
|
||
|
+ (void)warn:(NSString *)logString
|
||
|
{
|
||
8 years ago
|
DDLogWarn(@"%@", logString);
|
||
9 years ago
|
}
|
||
|
|
||
|
+ (void)error:(NSString *)logString
|
||
|
{
|
||
8 years ago
|
DDLogError(@"%@", logString);
|
||
9 years ago
|
}
|
||
|
|
||
8 years ago
|
+ (void)flush
|
||
|
{
|
||
|
[DDLog flushLog];
|
||
|
}
|
||
|
|
||
9 years ago
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|