commit | 8a76d89dee8517e445155a1725a050e228f4eaef | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@codeconstruct.com.au> | Fri Jul 26 17:19:57 2024 +0800 |
committer | Jeremy Kerr <jk@codeconstruct.com.au> | Mon Feb 24 11:09:44 2025 +0000 |
tree | 411f2f4bfba62d9ea59fcbfe80511ca0f8d42253 | |
parent | 8d9af0236b3cbe89a25e4b239a9075135c8a54a0 [diff] |
ncsi: log interface types using to_string Add a to_string() method for Interfaces, to handle printing via lg2. Since we're printing the interface object, don't specify _INDEX on the metadata, this may not always be an index. Also, interface indices are typically referred to as decimal. Use decimal instead of a lg2::hex conversion. Change-Id: I90b5fbac52adde3bbc3f2699087373ed96361083 Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>