koatty_logger
Advanced tools
Comparing version 1.3.15 to 1.3.16
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.3.16](https://github.com/thinkkoa/koatty_logger/compare/v1.3.15...v1.3.16) (2023-01-07) | ||
### Bug Fixes | ||
* 按小时分割 ([7f00b7d](https://github.com/thinkkoa/koatty_logger/commit/7f00b7d0f56bd0321dbe2a400971827492e67223)) | ||
### [1.3.15](https://github.com/thinkkoa/koatty_logger/compare/v1.3.14...v1.3.15) (2022-09-09) | ||
@@ -7,0 +14,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2022-09-09 17:33:12 | ||
* @Date: 2023-01-07 12:40:37 | ||
* @License: BSD (3-Clause) | ||
@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com> |
/*! | ||
* @Author: richen | ||
* @Date: 2022-09-09 17:33:01 | ||
* @Date: 2023-01-07 12:40:23 | ||
* @License: BSD (3-Clause) | ||
@@ -135,3 +135,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
* @LastEditors: Please set LastEditors | ||
* @LastEditTime: 2022-05-26 12:47:17 | ||
* @LastEditTime: 2023-01-07 12:15:36 | ||
* @License: BSD (3-Clause) | ||
@@ -373,3 +373,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
} | ||
const file = `${logFilePath}${helper__namespace.sep}${name ? `${name}_` : ''}${helper__namespace.dateTime('', 'YYYY-MM-DD')}.log`; | ||
const file = `${logFilePath}${helper__namespace.sep}${name ? `${name}_` : ''}${helper__namespace.dateTime('', 'YYYY-MM-DD-hh')}.log`; | ||
const fd = await fsOpen(file, 'a'); | ||
@@ -376,0 +376,0 @@ // tslint:disable-next-line: no-null-keyword |
{ | ||
"name": "koatty_logger", | ||
"version": "1.3.15", | ||
"version": "1.3.16", | ||
"description": "Logger for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"name": "koatty_logger", | ||
"version": "1.3.15", | ||
"version": "1.3.16", | ||
"description": "Logger for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
42890