@larvit/log
Advanced tools
Comparing version 1.0.4 to 1.1.0
12
index.ts
@@ -1,8 +0,8 @@ | ||
type Metadata = { | ||
export type Metadata = { | ||
[key: string]: string; | ||
} | ||
type LogShorthand = (msg: string, metadata?: Metadata) => void; | ||
export type LogShorthand = (msg: string, metadata?: Metadata) => void; | ||
interface LogInt { | ||
export interface LogInt { | ||
/* eslint-disable typescript-sort-keys/interface */ | ||
@@ -18,5 +18,5 @@ error: LogShorthand; | ||
type LogLevel = keyof LogInt; | ||
export type LogLevel = keyof LogInt; | ||
type EntryFormatterConf = { | ||
export type EntryFormatterConf = { | ||
logLevel: LogLevel; | ||
@@ -27,3 +27,3 @@ metadata?: Metadata; | ||
type LogConf = { | ||
export type LogConf = { | ||
context?: Metadata; | ||
@@ -30,0 +30,0 @@ entryFormatter?: (conf: EntryFormatterConf) => string; |
{ | ||
"name": "@larvit/log", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
16178