-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Documentation Page for Promotional Offers (#18)
* Update the documentation * Update `CHANGELOG.md`
- Loading branch information
Showing
5 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# logging | ||
|
||
Learn how to log important events. | ||
|
||
## Overview | ||
|
||
The `Flare` supports logging out of the box. It has a set of methods to facilitate logging, each accompanied by a detailed description. | ||
|
||
### Enabling Logging | ||
|
||
> important: `Flare` uses the `log` package for logging functionality. See [Log Package](https://github.com/space-code/log) for more info. | ||
By default, `Flare` logs only `debug` or `info` events based on the package building scheme. The special logging level can be forced by setting ``IFlare/logLevel`` to Flare. | ||
|
||
```swift | ||
Flare.shared.logLevel = .all | ||
``` | ||
|
||
The logging can be turned off by setting ``IFlare/logLevel`` to `off`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters