Skip to content

Commit

Permalink
- new release and info
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek committed Dec 27, 2016
1 parent 2542c1d commit e6f2e41
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ platform :ios, '9.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Lighty', '~>0.4'
pod 'Lighty', '~>1.0.0'
end
```

Expand All @@ -52,7 +52,7 @@ brew install carthage
To integrate Lighty into your Xcode project using Carthage, specify it in your Cartfile:

```
github "abdullahselek/Lighty" ~> 0.4
github "abdullahselek/Lighty" ~> 1.0.0
```

Run carthage update to build the framework and drag the built Lighty.framework into your Xcode project.
Expand All @@ -65,7 +65,7 @@ import PackageDescription
let package = Package(
name: "Your project name",
dependencies: [
.Package(url: "https://github.com/abdullahselek/Lighty.git", majorVersion: 0, minor: 4)
.Package(url: "https://github.com/abdullahselek/Lighty.git", majorVersion: 1, minor: 0)
]
)
```
Expand All @@ -86,4 +86,16 @@ logger.log(type: .info, message: "Info")
logger.log(type: .warn, message: "Warn")
LightyLogger.sharedInstance.log(type: .error, message: "Error for test :)")
```

You can set your own date formatter and separator
```
let dateFormatter = DateFormatter()
dateFormatter.dateStyle = .long
dateFormatter.timeStyle = .long
logger.dateFormatter = dateFormatter
```

```
logger.separator = " + "
```

0 comments on commit e6f2e41

Please sign in to comment.