Class Logger

日志对象

Constructors

Methods

Constructors

Methods

  • Parameters

    • err: Error
    • Optionalpath: string

    Returns void

  • Parameters

    • msg: string
    • color: "green" | "yellow" = "green"

    Returns void