forked from EFEducationFirstMobile/librabbitmq-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.m
More file actions
34 lines (26 loc) · 635 Bytes
/
Test.m
File metadata and controls
34 lines (26 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// Test.m
// AMQPKit
//
// Created by Andrew Mackenzie-Ross on 3/02/2015.
// Copyright (c) 2015 librabbitmq. All rights reserved.
//
#import <CocoaLumberjack/CocoaLumberjack.h>
#import <CocoaLumberjack/DDTTYLogger.h>
// Log levels: off, error, warn, info, verbose
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
#import "Test.h"
@implementation Test
- (instancetype)init
{
self = [super init];
if (self) {
[DDLog addLogger:[DDTTYLogger sharedInstance]];
DDLogVerbose(@"Verbose");
DDLogInfo(@"Info");
DDLogWarn(@"Warn");
DDLogError(@"Error");
}
return self;
}
@end