emit_log_message(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is emit_log_message(9) from the Kernel API Manual, and it's literally the main-character page for emit_log_message β€” it emits a log message to the kernel log in a format suited to the current thread context. no cap, that's the whole vibe. 🫢


✨ SYNOPSIS ✨

here's the signature, character for character, bestie:

void emit_log_message (int priority , const char *module , const char *prefix , const struct va_format *vaf1 , const struct va_format *vaf2 );

🌸 ARGUMENTS 🌸

  • priority β€” the priority at which to log the message. yes, the whole importance level, periodt.
  • module β€” The name of the module doing the logging.
  • prefix β€” The prefix of the log message.
  • vaf1 β€” The first message format descriptor.
  • vaf2 β€” The second message format descriptor.

πŸ¦‹ DESCRIPTION πŸ¦‹

Context info formats, served fresh and honestly a little chaotic:

interrupt:           uds[NMI]: blah kvdo thread:         kvdo12:foobarQ:
blah thread w/device id:  kvdo12:myprog: blah other thread:        uds:
myprog: blah

Fields: module name, interrupt level, process name, device ID. iykyk πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/md/dm-vdo/logger.c, plus emit_log_message_to_kernel(9) β€” go click, bestie. ✨

mwah πŸ’– this little page comes from ./drivers/md/dm-vdo, dated October 2026 β€” emit_log_message(9) out. πŸŽ€

πŸ“¦ where this page comes from