林 林间小满 楼主 2026-10-15 04:45 分级:debug、info、warn、error。 规范: - 关键操作记 info - 异常记 error 带上下文 - 别把敏感信息写进日志 排查问题时你会感谢现在的自己。