技能 编程开发 Webiny API 核心日志记录工具

Webiny API 核心日志记录工具

v20260424
webiny-api-logger-catalog
本模块提供了Webiny API的`Logger`抽象层,用于实现结构化日志记录。它支持多种日志级别(如调试、信息、警告和错误),帮助开发者系统地记录应用事件和操作数据。使用此抽象层可以实现日志的集中管理,对于系统的调试、监控和维护至关重要。
获取技能
101 次下载
概览

api/logger

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: Logger Import: import { Logger } from "webiny/api/logger" Source: @webiny/api-core/features/logger/index.ts Description: Structured logging with multiple log levels.


信息
Category 编程开发
Name webiny-api-logger-catalog
版本 v20260424
大小 622B
更新时间 2026-04-28
语言