mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 00:06:31 +00:00
30 lines
523 B
Objective-C
30 lines
523 B
Objective-C
//
|
|
// Logger.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 2/10/15.
|
|
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#ifndef Limelight_Logger_h
|
|
#define Limelight_Logger_h
|
|
|
|
#import <stdarg.h>
|
|
|
|
typedef enum {
|
|
LOG_D,
|
|
LOG_I,
|
|
LOG_W,
|
|
LOG_E
|
|
} LogLevel;
|
|
|
|
#define PRFX_DEBUG @"<DEBUG>"
|
|
#define PRFX_INFO @"<INFO>"
|
|
#define PRFX_WARN @"<WARN>"
|
|
#define PRFX_ERROR @"<ERROR>"
|
|
|
|
void Log(LogLevel level, NSString* fmt, ...);
|
|
void LogTag(LogLevel level, NSString* tag, NSString* fmt, ...);
|
|
|
|
#endif
|