awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
DaveWoodCom avatar

DaveWoodCom/XCGLogger

0
View on GitHub↗
3,986 星标·476 分支·Swift·MIT·11 次浏览

XCGLogger

XCGLogger 是一个 Swift 日志框架,旨在记录带有自动元数据(如时间戳和行号)的应用程序事件,以协助故障排除和调试。

该项目具有异步日志路由器,可将写入操作卸载到后台队列,并利用延迟评估来避免在日志级别处于非活动状态时进行昂贵的字符串构建。它包括一个基于文件的日志管理器,该管理器处理具有基于文件大小或年龄的自动轮转的持久存储,以及用于将日期格式和 ANSI 颜色代码应用于控制台输出的自定义格式化程序。

该框架为日志路由到多个目的地、基于严重性和元数据的过滤,以及通过协议创建自定义目的地、过滤器和格式化程序的扩展性提供了广泛的能力。

Features

  • Swift - Provides a comprehensive logging framework for Swift applications with customizable formatting and severity levels.
  • Multi-Destination Log Routers - Routes log events to multiple heterogeneous destinations, including consoles and files, using configurable rules.
  • Deferred Log Evaluation - Delays expensive string interpolation until the active log level is verified to save CPU cycles.
  • Background I/O Queues - Offloads log writing operations to background queues to prevent blocking the main execution thread.
  • Log Metadata Injectors - Automatically attaches runtime context such as function names, filenames, and line numbers to log entries.
  • Application Event Recording - Captures and writes runtime diagnostic messages and metadata to persistent storage or consoles.
  • Asynchronous Log Processing - Processes log entries on background worker threads to prevent blocking the main application execution path.
  • Extensible Logging Logic - Offers a protocol-based system for implementing custom logging destinations, filters, and formatters.
  • Log File Rotators - Manages log file lifecycles by rotating files based on size or date and appending new entries.
  • Log Performance Optimizations - Uses deferred evaluation and severity filtering to minimize CPU overhead during active development.
  • Service Message Filters - Filters log entries based on runtime metadata such as filenames, tags, or developer identities.
  • Multi-Destination Log Routings - Sends log data to multiple destinations with independent filters and formatters for each target.
  • Extensible Log Destinations - Enables the integration of custom logging logic and third-party services through protocol-based destinations.
  • Log File Rotation - Automatically manages log file sizes by rolling over to new files when size or age limits are reached.
  • Metadata-Based Log Filtering - Filters logs based on runtime metadata such as filenames, user-defined tags, or developer identities.
  • Log File Writers - Provides utilities for writing log records to external files with configurable formatting.
  • Logging Utilities - Debug logging framework.
  • Logging and Debugging - Debug logging framework with console and file support.
  • Logging Utilities - Features a full-featured logging utility with log levels.

Star 历史

davewoodcom/xcglogger 的 Star 历史图表davewoodcom/xcglogger 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

XCGLogger 的开源替代方案

相似的开源项目,按与 XCGLogger 的功能重合度排序。
  • swiftybeaver/swiftybeaverSwiftyBeaver 的头像

    SwiftyBeaver/SwiftyBeaver

    6,066在 GitHub 上查看↗

    SwiftyBeaver is an extensible logging framework for Swift that routes log output to multiple destinations simultaneously, including the Xcode console, local files, and remote cloud services. It supports recording messages at distinct severity levels with corresponding visual styling, and can attach arbitrary contextual data such as numbers, arrays, or dictionaries to log entries without requiring manual string conversion. The framework distinguishes itself through destination-based log routing, where each output target can have its own independent format and filter configuration managed by a

    Swift
    在 GitHub 上查看↗6,066
  • amrayn/easyloggingppamrayn 的头像

    amrayn/easyloggingpp

    3,937在 GitHub 上查看↗

    Easyloggingpp is a C++ logging library and thread-safe logging framework used for recording diagnostic messages and application events. It functions as an asynchronous logger, processing messages on a background thread to reduce latency and prevent blocking the main execution path. The project includes a log rotation manager to automatically truncate or roll over files once they reach a specified disk size limit. It also serves as a performance tracking tool for measuring function execution timing and recording checkpoints to identify processing bottlenecks. The library covers a broad range

    C++
    在 GitHub 上查看↗3,937
  • abumq/easyloggingppabumq 的头像

    abumq/easyloggingpp

    3,937在 GitHub 上查看↗

    This project is a thread-safe, asynchronous logging library designed for C++ applications. It provides a comprehensive diagnostic toolkit that enables developers to record system events, track execution flow across multiple threads, and manage log output through severity-based filtering and automated file maintenance. By offloading log formatting and disk input/output to background worker threads, the library minimizes latency on the main execution path, ensuring high performance in time-critical systems. The framework distinguishes itself through its flexible configuration and diagnostic cap

    C++c-plus-plusc-plus-plus-11cpp
    在 GitHub 上查看↗3,937
  • klauscfhq/signaleklauscfhq 的头像

    klauscfhq/signale

    9,176在 GitHub 上查看↗

    Signale is a formatted console logging library for Node.js applications. It serves as a pluggable logging framework and stream-based log router that allows users to record system events using customizable levels, colors, and output styles. The project distinguishes itself as an interactive console logger capable of overwriting previous messages to reduce terminal clutter during long-running tasks. It also functions as an application performance monitor, providing tools to measure and track execution time between specific code points to identify performance bottlenecks. The library covers a b

    JavaScript
    在 GitHub 上查看↗9,176
查看 XCGLogger 的所有 30 个替代方案→

常见问题解答

davewoodcom/xcglogger 是做什么的?

XCGLogger 是一个 Swift 日志框架,旨在记录带有自动元数据(如时间戳和行号)的应用程序事件,以协助故障排除和调试。

davewoodcom/xcglogger 的主要功能有哪些?

davewoodcom/xcglogger 的主要功能包括:Swift, Multi-Destination Log Routers, Deferred Log Evaluation, Background I/O Queues, Log Metadata Injectors, Application Event Recording, Asynchronous Log Processing, Extensible Logging Logic。

davewoodcom/xcglogger 有哪些开源替代品?

davewoodcom/xcglogger 的开源替代品包括: swiftybeaver/swiftybeaver — SwiftyBeaver is an extensible logging framework for Swift that routes log output to multiple destinations… amrayn/easyloggingpp — Easyloggingpp is a C++ logging library and thread-safe logging framework used for recording diagnostic messages and… abumq/easyloggingpp — This project is a thread-safe, asynchronous logging library designed for C++ applications. It provides a comprehensive… klauscfhq/signale — Signale is a formatted console logging library for Node.js applications. It serves as a pluggable logging framework… easylogging/easyloggingpp — Easyloggingpp is a header-only C++ logging framework and diagnostic tool designed for recording system events and… emaloney/cleanroomlogger — CleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant.