@fastkit/tiny-logger
Advanced tools
Comparing version 0.12.10 to 0.12.11
@@ -1,2 +0,17 @@ | ||
import { ConsoleColorPaletteName } from '@fastkit/helpers'; | ||
declare const PALETTE: { | ||
reset: string; | ||
red: string; | ||
green: string; | ||
yellow: string; | ||
magenta: string; | ||
cyan: string; | ||
}; | ||
type ConsoleColorPaletteName = keyof typeof PALETTE; | ||
/** | ||
* Get message to output to Console with color | ||
* @param message - Message | ||
* @param color - Color | ||
* @returns Message with color decoration string | ||
*/ | ||
declare function consoleColorString(message: string, color: ConsoleColorPaletteName): string; | ||
@@ -36,2 +51,2 @@ declare const TINY_LOGGER_LOG_TYPES: readonly ["debug", "info", "warn", "error", "success"]; | ||
export { COLOR_MAP, TinyLogger, TinyLoggerLogType, createTinyError }; | ||
export { COLOR_MAP, ConsoleColorPaletteName, TinyLogger, TinyLoggerLogType, consoleColorString, createTinyError }; |
{ | ||
"name": "@fastkit/tiny-logger", | ||
"version": "0.12.10", | ||
"version": "0.12.11", | ||
"description": "A small logger to display the application logs just a little bit nicer.", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@fastkit/helpers": "0.12.10" | ||
"@fastkit/helpers": "0.12.11" | ||
}, | ||
@@ -47,0 +47,0 @@ "buildOptions": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13167
208
+ Added@fastkit/helpers@0.12.11(transitive)
+ Added@fastkit/ts-type-utils@0.0.1(transitive)
- Removed@fastkit/helpers@0.12.10(transitive)
Updated@fastkit/helpers@0.12.11