TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Logging Module for Bash Scripts

3 点作者 leonletto超过 2 年前

1 comment

leonletto超过 2 年前
This script is used for logging messages to the console and a log file and is designed to be similar to the API of the python logging module. It includes log rotation by size and by the number of log files.<p>I hope it&#x27;s helpful to those who still need to standardize their logging. It is opinionated so importing into log platforms is easy.<p>My first submission of any code, so suggestions are welcome.