scheduler-node-models 1.2.93 → 1.2.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,8 @@
1
1
  import { Logger } from '../general';
2
2
  export declare const logConnection: {
3
3
  log?: Logger;
4
+ employeeLog?: Logger;
5
+ siteLog?: Logger;
6
+ teamLog?: Logger;
4
7
  };
5
8
  export declare function createLogs(application: string): Promise<void>;
package/config/logging.js CHANGED
@@ -6,4 +6,7 @@ const general_1 = require("../general");
6
6
  exports.logConnection = {};
7
7
  async function createLogs(application) {
8
8
  exports.logConnection.log = new general_1.Logger(`${process.env.LOG_DIR}/${application}/process_${(new Date().toDateString())}.log`);
9
+ exports.logConnection.employeeLog = new general_1.Logger(`${process.env.LOG_DIR}/${application}/employee_${(new Date().toDateString())}.log`);
10
+ exports.logConnection.siteLog = new general_1.Logger(`${process.env.LOG_DIR}/${application}/site_${(new Date().toDateString())}.log`);
11
+ exports.logConnection.teamLog = new general_1.Logger(`${process.env.LOG_DIR}/${application}/team_${(new Date().toDateString())}.log`);
9
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.2.93",
3
+ "version": "1.2.94",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [