构造函数
constructor
-
方法
debug
-
debug(message: string, error?: Error): void
参数
- message: string
可选error: Error
返回 void
info
-
info(message: string, error?: Error): void
参数
- message: string
可选error: Error
返回 void
warn
-
warn(message: string, error?: Error): void
参数
- message: string
可选error: Error
返回 void
error
-
error(message: string, error?: Error): void
参数
- message: string
可选error: Error
返回 void