logger-fp-ts
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.2.2](https://github.com/thewilkybarkid/logger-fp-ts/compare/v0.2.1...v0.2.2) (2023-01-19) | ||
### Features | ||
* add JSON Show instance ([8e19bcb](https://github.com/thewilkybarkid/logger-fp-ts/commit/8e19bcbaa5b1068879a9a64a2ba9f40644938824)) | ||
### [0.2.1](https://github.com/thewilkybarkid/logger-fp-ts/compare/v0.2.0...v0.2.1) (2022-10-20) | ||
@@ -7,0 +14,0 @@ |
@@ -72,2 +72,7 @@ import { ClockEnv } from 'clock-ts'; | ||
/** | ||
* @category instances | ||
* @since 0.2.2 | ||
*/ | ||
export declare const JsonShowLogEntry: Show<LogEntry>; | ||
/** | ||
* Colorizes log entries based on the level. | ||
@@ -74,0 +79,0 @@ * |
@@ -29,3 +29,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.error = exports.errorP = exports.warn = exports.warnP = exports.info = exports.infoP = exports.debug = exports.debugP = exports.EqLogEntry = exports.getColoredShow = exports.ShowLogEntry = exports.match = exports.withShow = exports.LogEntry = void 0; | ||
exports.error = exports.errorP = exports.warn = exports.warnP = exports.info = exports.infoP = exports.debug = exports.debugP = exports.EqLogEntry = exports.getColoredShow = exports.JsonShowLogEntry = exports.ShowLogEntry = exports.match = exports.withShow = exports.LogEntry = void 0; | ||
/** | ||
@@ -103,2 +103,9 @@ * @since 0.1.0 | ||
/** | ||
* @category instances | ||
* @since 0.2.2 | ||
*/ | ||
exports.JsonShowLogEntry = { | ||
show: safe_stable_stringify_1.default, | ||
}; | ||
/** | ||
* Colorizes log entries based on the level. | ||
@@ -105,0 +112,0 @@ * |
{ | ||
"name": "logger-fp-ts", | ||
"description": "A logger for use with fp-ts.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/thewilkybarkid/logger-fp-ts", |
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
14717
331