From a5ca6b8b0be73115be49e5d11ae460aa00b9a916 Mon Sep 17 00:00:00 2001 From: shirtiny <1849468240@qq.com> Date: Thu, 17 Feb 2022 21:52:37 +0800 Subject: [PATCH] v2.1.15 --- package.json | 2 +- src/model/shLogger.ts | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c56d918..98aad09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shirtiny/logger", - "version": "2.1.14", + "version": "2.1.15", "description": "Simple console log with css, write in typescript.", "types": "./dist/types/main.d.ts", "main": "./dist/main.es.js", diff --git a/src/model/shLogger.ts b/src/model/shLogger.ts index 2a4de79..2d31877 100644 --- a/src/model/shLogger.ts +++ b/src/model/shLogger.ts @@ -1,7 +1,7 @@ /* * @Author: Shirtiny * @Date: 2021-06-25 10:25:33 - * @LastEditTime: 2021-12-11 11:51:37 + * @LastEditTime: 2022-02-17 21:47:39 * @Description: */ @@ -12,14 +12,14 @@ import { Logger } from "./logger"; export enum LEVELS { log = 0, version = 0, - error = 0, - key = 0, - warn = 1, - interval = 1, - service = 2, - api = 3, - http = 3, - debug = 3, + error = 1, + warn = 2, + key = 3, + interval = 3, + service = 4, + api = 5, + http = 6, + debug = 7, } type LogType = {