Skip to content

CivicVision/CocoaFluentLogger

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Objective-C 80.1%
  • Ruby 19.9%