Skip to content

Instantly share code, notes, and snippets.


Jesse Cox forgot

View GitHub Profile
View index.html
<div class="container">
<div class="col" style="margin-top: 20px;">
<div class="row">
<div class="col border">
<h1 class="display-1 text-center" id="cases_val">#</h1>
<h1 class="display-4 text-center">Cases Reported</h1>
<div class="col border">
<h1 class="display-1 text-center" id="deaths_val">#</h1>
<h1 class="display-4 text-center">Deaths</h1>
forgot / CocoaLumberjack Line Number
Last active Aug 29, 2015
CocoaLumberjack Line Number LogFormatter
View CocoaLumberjack Line Number

All credit goes to Stack Overflow user UrK for the answer here:

@interface LineNumberLogFormatter : NSObject<DDLogFormatter>

- (NSString *)formatLogMessage:(DDLogMessage *)logMessage;


@implementation LineNumberLogFormatter
- (NSString *)formatLogMessage:(DDLogMessage *)logMessage
View gist:11370536

###This is a test Seeing if it works using

NSString *myCoolString = [NSString stringWithFormat:@"Freaking Sweet String!"];

- (void) makeItBetter:(NSString *)awesomify {
myCoolString = [NSString stringWithFormat:@"%@ Awesome!", myCoolString];