Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herberthe/log-monitor
nodejs网络应用日志规范库, 目前支持标准nginx日志和Apache日志
https://github.com/herberthe/log-monitor
Last synced: about 1 month ago
JSON representation
nodejs网络应用日志规范库, 目前支持标准nginx日志和Apache日志
- Host: GitHub
- URL: https://github.com/herberthe/log-monitor
- Owner: HerbertHe
- License: mit
- Created: 2021-05-13T16:39:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-19T11:40:26.000Z (over 3 years ago)
- Last Synced: 2023-03-05T01:07:22.107Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.CN.md
- License: LICENSE
Awesome Lists containing this project
README
# log-monitor
> 日志监控库
[简体中文](./README.CN.md) | [English](./README.md)
## 安装
```bash
npm i @herberthe/log-monitor
# or yarn
yarn add @herberthe/log-monitor
```## 使用方法
```ts
const { LogMonitor } = require("@herberthe/log-monitor")
const monitor = new LogMonitor(options)
console.log(monitor.export())
```