-
Notifications
You must be signed in to change notification settings - Fork 0
Logging Overview
Mr.P edited this page Aug 25, 2026
·
1 revision
AIBudsLogSDK provides the process-wide logging entry point used by AIBuds SDK modules and applications. Its active LogService records messages, exports retained logs, and purges expired entries.
Browse the generated Wiki navigation for the pages in this section.
LogConfiguration controls:
| Setting | Default | Purpose |
|---|---|---|
level |
.info |
Minimum severity recorded by the default logger. |
destination |
.xlfacility |
Active output destination. |
logsDirectory |
.aibuds/logs |
File destination directory relative to Documents. |
maxFileSize |
10,000,000 bytes | Maximum size of a single file log. |
logFileMaxAge |
3 days | Retention age used for log cleanup. |
LogDestination supports .console, .oslogger, .file, and .xlfacility. Only one destination is active at a time.
- Configure the level, destination, storage, and retention settings early in application startup.
- If using
.xlfacility, install theAIBudsXLFacilityplugin before logs are written. - Record messages through
AIBudsLogSDK.logServiceor allow AIBuds modules to use the same service. - Export or purge logs through the active
LogService.
- Console and OS Logger destinations do not support export.
- File and XLFacility destinations support export and retention cleanup.
- If no custom service is installed,
AIBudsLogSDK.logServicereturns the built-inDefaultLogger. - Selecting
.xlfacilitywithout configuring its plugin falls back to an error message in the console and cannot persist or export through XLFacility.
AIBuds SDK documentation · Full documentation · API Reference
- Introduction
- Getting Started
- Core Concepts
-
Core Features
- Basic Features
- Device Info
- Find Device
- Physical Operations
- Work Mode
- Work Status
- Wear Detection
- Volume Control
- Music Control
- TWS
- Equalizer
- ANC
- Audio
- Camera
- Remote Camera
- File Import
- Teleprompter
- Segment Navigation
- Live Streaming
- Device Applications
- OTA
- Camera OTA
- Service Auth
- AI Services
- Voice Assistant
- Logging
- Advanced Topics
- Releases
- Troubleshooting