Update dependencies and add logging
Upgraded package.json to version 1.1.0 and added several development dependencies. Introduced a logger for better tracking of operations. Additionally, improved type definitions across the project and integrated enhanced ESLint configurations.
This commit is contained in:
10
src/logger.ts
Normal file
10
src/logger.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// src/logger.ts
|
||||
import { Logger, ILogObj } from "tslog";
|
||||
|
||||
export const log: Logger<ILogObj> = new Logger({
|
||||
name: "workflow-function-manifold",
|
||||
prettyLogTemplate: "{{yyyy}}-{{mm}}-{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}} {{logLevelName}} [{{name}}] ",
|
||||
prettyLogTimeZone: "local"
|
||||
});
|
||||
|
||||
export default log;
|
Reference in New Issue
Block a user