common: add logging for peer packets, with status_io.

We log the plaintext, not the encrypted ones.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-02-05 14:39:28 +10:30
parent e2eb694619
commit de56dc0ffc
3 changed files with 14 additions and 2 deletions

View File

@@ -46,6 +46,10 @@ void status_fmt(enum log_level level, const char *fmt, ...)
va_end(ap);
}
void status_io(enum log_level dir, const u8 *msg)
{
}
#if DEVELOPER
/* AUTOGENERATED MOCKS START */
/* Generated stub for dev_blackhole_fd */