@aristid/leav-types 1.4.0-36f123f9 → 1.4.0-38541fd6

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.
@@ -0,0 +1,10 @@
1
+ import winston from 'winston';
2
+ interface ICallerInfo {
3
+ path: string;
4
+ line: string;
5
+ col: string;
6
+ }
7
+ export declare function getLocationInfo(): ICallerInfo | null;
8
+ export declare const addLocationInfoInLog: winston.Logform.FormatWrap;
9
+ export declare const mergeLocationInfoInLog: winston.Logform.FormatWrap;
10
+ export {};
@@ -1,4 +1,4 @@
1
- import * as winston from 'winston';
1
+ import winston from 'winston';
2
2
  import { type ILoggerConfig } from './config';
3
3
  export type ILogger = Pick<typeof winston, 'error' | 'warn' | 'info' | 'log' | 'verbose' | 'debug' | 'silly'>;
4
4
  export declare function configureLogger(config: ILoggerConfig): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.4.0-36f123f9",
3
+ "version": "1.4.0-38541fd6",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",