Skip to main content

syslog

Macro syslog 

Source
macro_rules! syslog {
    ($fmt:literal $(, $arg:expr)* $(,)?) => { ... };
}
Expand description

bun.sys.syslog — debug-scoped log under SYS (Zig: Output.scoped(.SYS)). PORT NOTE: bun_core::scoped_log! only accepts a bare $scope:ident, so we re-expand its body verbatim here with the qualified $crate::fd::SYS path and ::bun_core:: helpers — keeping the [sys] tag prefix, trailing-\n append, and pretty_fmt! ANSI rewrite (output.zig:893-933) that ScopedLogger::log() does not add on its own.