@enterprise_search/kleislis
Advanced tools
Comparing version 0.5.2 to 0.5.3
import { NameAnd } from "@laoban/utils"; | ||
import { Timeservice } from "@itsmworkbench/utils"; | ||
export type SimpleLogFn = (msg: string) => Promise<void>; | ||
export declare function timeAsHHMMSS(timeService: Timeservice): string; | ||
export declare function timeAsHHMMSS(timeService?: Timeservice): string; | ||
export type LogLevel = 'TRACE' | 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' | 'NONE'; | ||
@@ -6,0 +6,0 @@ export declare const LogLevelValue: { |
@@ -5,4 +5,5 @@ "use strict"; | ||
const utils_1 = require("@itsmworkbench/utils"); | ||
const timeservice_1 = require("@itsmworkbench/utils/dist/src/timeservice"); | ||
let startTime = undefined; | ||
function timeAsHHMMSS(timeService) { | ||
function timeAsHHMMSS(timeService = timeservice_1.DateTimeService) { | ||
if (startTime === undefined) | ||
@@ -9,0 +10,0 @@ startTime = timeService(); |
{ | ||
"name": "@enterprise_search/kleislis", | ||
"description": "functions that have inputs, returns promises, and non functionals around them", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"main": "dist/index", | ||
@@ -6,0 +6,0 @@ "types": "dist/index", |
76098
1585