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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Redactrus, custom logrus formatter for redacting sensitive info

2 点作者 harshvkarn10 个月前
Hi HN! I&#x27;m excited to share &#x27;redactrus&#x27; (<a href="https:&#x2F;&#x2F;github.com&#x2F;ibreakthecloud&#x2F;redactrus">https:&#x2F;&#x2F;github.com&#x2F;ibreakthecloud&#x2F;redactrus</a>) , a tiny Go package that provides a `Logrus` formatter for redacting sensitive information from the log messages.<p>This ensures that passwords, API keys, and email addresses are not logged in plain text, helping you maintain better security and privacy in your applications.<p>Key Features: [1]. Customizable redaction strings<p>[2]. Supports custom redaction functions<p>[3]. Comes with default redactors (email, password, apikey)<p>Will be adding few more redactors for common log leaks.<p>I’d love to hear your thoughts, feedback, and opinions! If you have ideas for new redactors or other improvements, feel free submit a pull request.<p>Check out the project on GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;ibreakthecloud&#x2F;redactrus">https:&#x2F;&#x2F;github.com&#x2F;ibreakthecloud&#x2F;redactrus</a><p>Thanks for checking it out!

暂无评论

暂无评论