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

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

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

trentm/node-bunyan

0
View on GitHub↗
7,212 星标·504 分支·JavaScript·2 次浏览

Node Bunyan

本项目是一个用于 Node.js 应用的结构化日志框架和库。它以 JSON 格式生成机器可读的日志记录,并具有分级严重性级别,确保一致的解析和中心化存储。

该系统包括一个用于将记录路由到多个目的地(如文件和控制台)的日志流管理器,以及一个用于过滤、格式化和可视化原始 JSON 日志流的命令行界面。它支持创建继承父配置并合并额外上下文元数据的子记录器。

该框架涵盖了广泛的运营能力,包括用于磁盘管理的基于时间的日志轮转、用于事后检索的内存环形缓冲区,以及将内部日志事件作为 DTrace 探针暴露以进行实时运行时观察。它还提供动态调用点内省,以将源位置元数据附加到日志中。

Features

  • Structured JSON Loggers - Generates machine-readable log records as JSON objects to ensure consistent parsing across analysis tools.
  • Node.js Logging Libraries - A comprehensive logging framework designed specifically for the Node.js runtime environment.
  • Log Stream Routers - Routes log records to multiple destinations including files, consoles, and external data streams.
  • Inherited Logger Hierarchies - Supports child loggers that inherit parent configurations and merge additional contextual metadata.
  • Log Stream Management - Routes log data to multiple destinations and manages disk space through automatic log rotation.
  • Stream Routing - Routes log records to multiple independent writeable streams with individual severity thresholds.
  • Structured Logging Frameworks - Implements a structured logging framework that generates machine-readable logs with contextual metadata.
  • Runtime Call-Stack Capturers - Extracts filename and line number from the execution stack to provide source location metadata.
  • Runtime Debugging - Facilitates real-time process observation using DTrace probes and post-mortem analysis via ring buffers.
  • Log File Rotators - Manages disk usage by cycling log files based on defined time intervals and backup counts.
  • Ring Buffers - Maintains a fixed-size circular buffer of recent log entries for fast post-mortem retrieval.
  • Log Entry Filters - Implements predicate-based logic to filter log entries using JavaScript expressions during CLI processing.
  • Log Analysis Tools - Provides a CLI tool for filtering, formatting, and visualizing raw JSON log streams.
  • DTrace Probe Integrations - Exposes internal logging events as system probes for real-time runtime observation.
  • Application-Level Probes - Exposes internal logging events as application-level probes for real-time observation via DTrace.
  • Log Analysis - Provides a command line interface to filter, format, and visualize raw JSON log files.
  • Logging - JSON logging module.

Star 历史

trentm/node-bunyan 的 Star 历史图表trentm/node-bunyan 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Node Bunyan 的开源替代方案

相似的开源项目,按与 Node Bunyan 的功能重合度排序。
  • log4js-node/log4js-nodeL

    log4js-node/log4js-node

    5,838在 GitHub 上查看↗

    This is a logging framework for Node.js based on the log4j architecture. It provides a system for managing hierarchical loggers and severity thresholds, allowing application events to be recorded and categorized across different levels of importance. The framework is distinguished by its cluster-aware logging, which synchronizes and coordinates output across multiple process clusters into a unified stream. It also includes a dedicated log file rotation manager that automatically rolls files by date or size to prevent disk space exhaustion, and a network log transporter for sending data to rem

    JavaScript
    在 GitHub 上查看↗5,838
  • sirupsen/logrussirupsen 的头像

    sirupsen/logrus

    25,736在 GitHub 上查看↗

    Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON formatting. It serves as a pluggable logging framework providing a thread-safe event logger with configurable mutex locking to manage concurrent writes across multiple goroutines. The project distinguishes itself through a pluggable hook system that routes log entries to external services or custom destinations. It also features a contextual logger capable of attaching persistent metadata and request-scoped fields to entries to improve traceability. The framework covers broad ob

    Gogologginglogrus
    在 GitHub 上查看↗25,736
  • 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
  • hynek/structloghynek 的头像

    hynek/structlog

    4,835在 GitHub 上查看↗

    structlog is a structured logging library for Python that treats log entries as dictionaries instead of strings. This data-centric approach enables machine-readable output and precise data analysis by generating log entries as key-value pairs. It functions as both a standalone logging framework and a compatibility layer that adds structured capabilities to the Python standard library logging module. The library features a processor-pipeline architecture that passes log dictionaries through a sequence of functions to modify events or add metadata before final rendering. It includes a contextua

    Python
    在 GitHub 上查看↗4,835
查看 Node Bunyan 的所有 30 个替代方案→

常见问题解答

trentm/node-bunyan 是做什么的?

本项目是一个用于 Node.js 应用的结构化日志框架和库。它以 JSON 格式生成机器可读的日志记录,并具有分级严重性级别,确保一致的解析和中心化存储。

trentm/node-bunyan 的主要功能有哪些?

trentm/node-bunyan 的主要功能包括:Structured JSON Loggers, Node.js Logging Libraries, Log Stream Routers, Inherited Logger Hierarchies, Log Stream Management, Stream Routing, Structured Logging Frameworks, Runtime Call-Stack Capturers。

trentm/node-bunyan 有哪些开源替代品?

trentm/node-bunyan 的开源替代品包括: log4js-node/log4js-node — This is a logging framework for Node.js based on the log4j architecture. It provides a system for managing… sirupsen/logrus — Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON… klauscfhq/signale — Signale is a formatted console logging library for Node.js applications. It serves as a pluggable logging framework… hynek/structlog — structlog is a structured logging library for Python that treats log entries as dictionaries instead of strings. This… nodeshift/nodejs-reference-architecture — This project provides a comprehensive architectural framework and set of standardized patterns for building, securing,… rcoh/angle-grinder — Angle Grinder is a command line log processor and analytics tool used for parsing, filtering, and aggregating logs…