Skip to content

Commit

Permalink
Update README to fix jazzy numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
helenmasters committed Jun 11, 2018
1 parent c54d30c commit 7e991d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -28,7 +28,7 @@ A logger protocol that provides a common logging interface for different kinds o

## Usage

1. **Add dependencies**
#### Add dependencies

Add the `LoggerAPI` package to the dependencies within your application’s `Package.swift` file. Substitute `"x.x.x"` with the latest `LoggerAPI` [release](https://github.com/IBM-Swift/LoggerAPI/releases):

Expand All @@ -40,21 +40,21 @@ Add `LoggerAPI` to your target's dependencies:
.target(name: "example", dependencies: ["LoggerAPI"]),
```

2. **Import package**
#### Import package

```swift
import LoggerAPI
````

3. **Log messages**
#### Log messages

Add log messages to your application:
```swift
Log.warning("This is a warning.")
Log.error("This is an error.")
```

4. **Define a logger**
#### Define a logger

You need to define a `logger` in order to output these messages:
```swift
Expand Down

0 comments on commit 7e991d0

Please sign in to comment.