xxf-log

Centralize and visualize iOS application logs with configurable levels and masking.

6|1|Updated May 22, 2025
One-click install
npx skills add https://github.com/NBXXF/xxf_ios --skill xxf-log
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xxf-log
Source: https://github.com/NBXXF/xxf_ios/tree/main/skills/xxf-log
Command: npx skills add https://github.com/NBXXF/xxf_ios --skill xxf-log

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XXFLog 日志系统,帮助在整个应用中统一日志输出、对接 Pulse 可视化、按日志等级 фильtration、按模块分类管理日志,并避免散乱的打日志行为。

Core Features & Use Cases

  • 统一日志输出和可视化接入
  • 按等级过滤、按模块分类日志
  • 替代 print/NSLog,提供统一 API

Quick Start

配置日志等级和输出目标后,在代码中逐步替换打印调用,使用 XXFLog.info(...) 等统一接口开始日志记录。

Frequently Asked Questions about xxf-log

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I centralize iOS logging and replace scattered print statements?▼

Centralize iOS logging by replacing scattered print or NSLog calls with a unified API. This provides a single interface for output, allowing you to manage log levels, categorize by module, and eliminate disorganized logging behavior across the application.

Can I filter iOS logs by level and module during testing?▼

You can filter logs by level and module during testing. The unified API supports configuring log levels and categorizing logs by module, enabling precise log filtering to isolate specific issues during the testing phase.

How does data masking work for production iOS logs?▼

Data masking for production logs works by applying configurations via the unified API. This ensures compliant logging in production environments by masking sensitive output, preventing unauthorized exposure of critical data while still capturing necessary diagnostic information.

What is the best way to integrate Pulse visualization for iOS log monitoring?▼

The best way to integrate Pulse visualization is using a centralized logging system that directly supports it. This allows you to route unified log outputs into Pulse for visual monitoring, debugging during development, and analyzing application behavior.

Does this unified logging approach support different output targets?▼

The unified logging approach supports different output targets. You can configure where logs are directed through the API, enabling flexible routing of log data to various destinations alongside the Pulse visualization integration.

When do I need to configure log levels for iOS application debugging?▼

You need to configure log levels for iOS debugging when you want to control output verbosity and isolate specific issues. Setting log levels allows you to filter noise during development and testing, ensuring only relevant diagnostic information is displayed.