Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slightair committed Oct 9, 2016
1 parent 937c2b8 commit e641663
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Puree
[![Version](https://img.shields.io/cocoapods/v/Puree.svg?style=flat)](http://cocoadocs.org/docsets/Puree)
[![License](https://img.shields.io/cocoapods/l/Puree.svg?style=flat)](http://cocoadocs.org/docsets/Puree)
[![Platform](https://img.shields.io/cocoapods/p/Puree.svg?style=flat)](http://cocoadocs.org/docsets/Puree)
[![Travis](https://img.shields.io/travis/cookpad/puree-ios.svg?maxAge=2592000)]()

## Description

Expand All @@ -25,7 +26,7 @@ Puree helps you unify your logging infrastructure.
```swift
// Swift

let configuration = PURLoggerConfiguration.defaultConfiguration()
let configuration = PURLoggerConfiguration.default()
configuration.filterSettings = [
PURFilterSetting(filter: ActivityFilter.self, tagPattern: "activity.**"),
// filter settings ...
Expand All @@ -37,7 +38,7 @@ configuration.outputSettings = [
// output settings ...
]

logger = PURLogger(configuration: configuration)
let logger = PURLogger(configuration: configuration)
```

```objective-c
Expand Down Expand Up @@ -81,7 +82,7 @@ Post log object(anyObject) in an arbitrary timing.
```swift
// Swift
logger.postLog(["recipe_id": "123"], tag: "pv.recipe_detail")
logger.post(["recipe_id": "123"], tag: "pv.recipe_detail")
```

```objective-c
Expand Down

0 comments on commit e641663

Please sign in to comment.