Registry / logging / oslog
library0.2.0rscratesunverified

A minimal safe wrapper around Apple's unified logging system for macOS and iOS.

# Cargo.toml [dependencies] oslog = "0.2.0"
INSTALL
IMPORT
SIG · OSLOG
O
oslog
loggingrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OsLog
use oslog::OsLog;

Create a logger and log an info message.

use oslog::OsLog; fn main() { let log = OsLog::new("com.example.app"); log.info("Hello from oslog!"); }
Debug
Known issues
gotchaOnly works on Apple platforms (macOS, iOS, etc.); no-op on other systems.
fix
Use conditional compilation or feature flags to guard usage.
affects: >=0.1.0
Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Amazon
1
Resources
oslog — cargo add oslog · libregistry