//
//  LoggerEvent.m
//  SFS2X
//
//  Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
//
//  Maintained and developed by A51 Integrated.
//  Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
//

#import "LoggerEvent.h"

NSString * const LoggerEvent_DEBUG = @"DEBUG";
NSString * const LoggerEvent_INFO = @"INFO";
NSString * const LoggerEvent_WARNING = @"WARN";
NSString * const LoggerEvent_ERROR = @"ERROR";

@implementation LoggerEvent


-(id)initWithType:(NSString *)type params:(NSDictionary *)params {
	if ((self = [super initWithType:type params:params])) {
		
	}
	
	return self;
}

-(id)clone {
	NSDictionary *clonedParams = [NSDictionary dictionaryWithDictionary:_params];
	NSString *clonedType = [NSString stringWithString:_type];
	
	LoggerEvent *clone = [[LoggerEvent alloc] initWithType:clonedType params:clonedParams];
	
	return clone;
}

-(NSString *)description {
	return [NSString stringWithString:_type];
}


@end
