https://github.com/instabug/instabug-xcglogger
https://github.com/instabug/instabug-xcglogger
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/instabug/instabug-xcglogger
- Owner: Instabug
- Created: 2017-02-01T13:16:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T10:50:24.000Z (over 4 years ago)
- Last Synced: 2025-01-18T08:45:47.851Z (5 months ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 47
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instabug-XCGLogger
This is a destination for XCGLogger to make use of its logs with your Instabug setup.## Comptability
Note that XCGLogger is a Swift framework and intended to be used with Swift projects.## Installation
Add pod `Instabug-XCGLogger` to your `podfile`
## Requirements
iOS version >= 10.0
`Instabug` version >= 10.0.3
`XCGLogger` version >= 7.0.0## Example
Make sure you import our destination first: `import Instabug_XCGLogger````
let log = XCGLogger.default
log.setup()let ibglog = InstabugLogDestination()
log.add(destination: ibglog)log.verbose("A verbose message")
log.debug("A debug message")
log.info("An info message")
log.warning("A warning message")
log.error("An error message")
log.severe("A severe message")
```