Files
Hakon Hanesand 04421a3411 Spelling.
2019-01-15 12:01:20 -08:00

23 lines
530 B
Objective-C

//
// TestFormatter.m
// CustomFormatters
//
// CocoaLumberjack Demos
//
#import "TestFormatter.h"
/**
* For more information about creating custom formatters, see the wiki article:
* https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/CustomFormatters
**/
@implementation TestFormatter
- (NSString *)formatLogMessage:(DDLogMessage *)logMessage
{
return [NSString stringWithFormat:@"%@ | %@ @ %@ | %@",
[logMessage fileName], logMessage->_function, @(logMessage->_line), logMessage->_message];
}
@end