AltraMayor / AltraMayor/gatekeeper

Improve log entries with context, more accurate string error, and more information

オープン
#574 コメント 0 件 リアクション 0 件 担当者 1 名 @mengxiang0811 が担当を希望しています GitHub で見る
enhancement good first issue
主要言語
C
スター
1.6k
フォーク
252
PR マージ指標
30日以内にマージされた PR はありません

説明

Add context to log entries with "%s(%s): ". The first string is `__func__`, and the second string is some proper context. A common example of context is `iface->name` to identify the interface associated with the log entry.

Review all calls of `strerror()` and replace the ones that are dealing with DPDK's errors with `rte_strerror()`.

Add `"(errno=%i): %s\n"` to `G_LOG()`'s that have `errno`, `rte_errno`, or `-ret` as well. The string is either `strerror()` or `rte_strerror()`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。