HomeFreeBSD

Add device and ifnet logging methods, similar to device_printf / if_printf

Description

Add device and ifnet logging methods, similar to device_printf / if_printf

  • device_printf() is effectively a printf
  • if_printf() is effectively a LOG_INFO

This allows subsystems to log device/netif stuff using different log levels,
rather than having to invent their own way to prefix unit/netif names.

Differential Revision: https://reviews.freebsd.org/D29320
Reviewed by: imp

Details

Provenance
adrianAuthored on Mar 21 2021, 6:49 PM
Reviewer
imp
Differential Revision
D29320: Add log() style versions of device_printf() and if_printf()
Parents
rG2595d78f3df2: sys/ck.h: Add an include guard
Branches
Unknown
Tags
Unknown