@handy-common-utils/misc-utils
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,10 @@ | ||
import medikooLog from 'log'; | ||
interface MedikooLogFunction { | ||
(...args: any[]): void; | ||
} | ||
interface MedikooLogger { | ||
debug: MedikooLogFunction; | ||
notice: MedikooLogFunction; | ||
warning: MedikooLogFunction; | ||
error: MedikooLogFunction; | ||
} | ||
/** | ||
@@ -68,3 +76,3 @@ * A LineLogger logs/prints one entire line of text before advancing to another line. | ||
*/ | ||
static consoleLike(log: typeof medikooLog): LineLogger<(message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void>; | ||
static consoleLike(log: MedikooLogger): LineLogger<(message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void, (message?: any, ...optionalParams: any[]) => void>; | ||
info: INFO_FUNC; | ||
@@ -122,2 +130,3 @@ debug: DEBUG_FUNC; | ||
export declare const consoleLike: typeof LineLogger.consoleLike; | ||
export {}; | ||
//# sourceMappingURL=line-logger.d.ts.map |
{ | ||
"name": "@handy-common-utils/misc-utils", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Miscellaneous utilities", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -178,3 +178,3 @@ # @handy-common-utils/misc-utils | ||
| :------ | :------ | :------ | | ||
| `log` | `Logger` | instance of the logger | | ||
| `log` | `MedikooLogger` | instance of the logger | | ||
@@ -424,3 +424,3 @@ ###### Returns | ||
| :------ | :------ | :------ | | ||
| `log` | `Logger` | instance of the logger | | ||
| `log` | `MedikooLogger` | instance of the logger | | ||
@@ -427,0 +427,0 @@ ###### Returns |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64132
426