Supported Platforms
- iOS 15.0+
Quick Start
Add the following to yourPackage.swift:
Usage
info, warn, and error.
SwiftLog
You can integrate with SwiftLog by importing JamSwiftLog and bootstrapping the logging system:MultiplexLogHandler:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Send your iOS app’s log events to Jam with the JamLog framework so every bug report carries your app’s context.
Package.swift:
dependencies: [
.package(url: "https://github.com/jamdotdev/jam-ios-log.git", from: "1.0.0")
]
import Jam
Jam.debug("Hello world!")
info, warn, and error.
import JamSwiftLog
import Logging
LoggingSystem.bootstrap { label in
JamLogHandler(label: label)
}
MultiplexLogHandler:
import JamSwiftLog
import Logging
LoggingSystem.bootstrap { label in
MultiplexLogHandler([
StreamLogHandler.standardOutput(label: label),
JamLogHandler(label: label)
])
}