#import "common.h"

@implementation DataLogger
+ (void)logData:(NSString*)data {
	printf("%s", [data UTF8String]);
	NSDictionary* dict = [NSDictionary dictionaryWithObject:data forKey:@"data"];
	[[NSNotificationCenter defaultCenter] postNotificationName:@"LogData" object:self
	                                                  userInfo:dict];
}
@end
