Go programmingfamiliarity with zap loggingunderstanding of syslog
新手友好度1-100 的估计分数,表示该议题对首次贡献者的友好程度。
50
研究方向
Study the existing sink and encoder implementations in zap (e.g., zapcore.WriteSyncer, JSONEncoder, ConsoleEncoder) to understand the pattern. Review RFC 5424 for syslog message format. Look at comments in the issue for any prior attempts or guidance from maintainers. Implement a new SyslogEncoder and SyslogSink that formats log entries according to syslog and writes to /dev/log or via UDP/TCP.
Add a syslog encoder and sink · uber-go/zap#96 | Good First Issue