Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 758 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 758 Bytes

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")