FFmpegKit iOS / macOS / tvOS API 4.5
Log.m
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Taner Sener
3 *
4 * This file is part of FFmpegKit.
5 *
6 * FFmpegKit is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FFmpegKit is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General License
17 * along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#import "Log.h"
21
22@implementation Log {
23 long _sessionId;
24 int _level;
25 NSString *_message;
26}
27
28- (instancetype)init:(long)sessionId :(int)level :(NSString*)message {
29 self = [super init];
30 if (self) {
31 _sessionId = sessionId;
32 _level = level;
33 _message = message;
34 }
35
36 return self;
37}
38
39- (long)getSessionId {
40 return _sessionId;
41}
42
43- (int)getLevel {
44 return _level;
45}
46
47- (NSString*)getMessage {
48 return _message;
49}
50
51@end
long _sessionId
NSString * _message
Definition: Log.m:25
int _level
Definition: Log.m:22
Definition: Log.h:29