A structured logger for Fluentd (Objective-C)
Pull request Compare This branch is even with laiso:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CocoaFluentLogger.xcodeproj
CocoaFluentLogger.xcworkspace
CocoaFluentLogger
CocoaFluentLoggerTests
Documents/images
Examples
.gitignore
CocoaFluentLogger.podspec
Podfile
Podfile.lock
README.md

README.md

CocoaFluentLogger

CocoaFluentLogger is currently only supported iOS.

//#import <CocoaFluentLogger/CocoaFluentLogger.h>
CocoaFluentLogger* logger = [[CocoaFluentLogger alloc] initWithHost:@"fluentd.example.com"
                                                               port:24224 tagPrefix:@"debug"];

[logger connect];

[logger post:@"test"
      object:@{@"text": [NSString stringWithFormat:@"Hello! I'm %@.", [UIDevice currentDevice].name]}];

// [logger disConnect];

Install

# Add Podfile
# pod 'CocoaFluentLogger', :git => 'https://github.com/laiso/CocoaFluentLogger.git'

pod install

Acknowledgements