std.log.debug
Log a debug message using the default scope.
- Kind
- constant
- Module
std.log
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of std.log in the Zig reference. This page has 20 cards.
Log a debug message using the default scope.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The default scoped logging namespace.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The default log level is based on build mode.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn defaultLog(comptime level: Level, comptime scope: @EnumLiteral(), comptime format: []const u8, args: anytype) void
The default implementation for the log function.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn defaultLogFileTerminal(comptime level: Level, comptime scope: @EnumLiteral(), comptime format: []const u8, args: anytype, t: std.Io.Terminal) std.Io.Writer.Error!void
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn defaultTerminalMode() std.Io.Terminal.Mode
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Log an error message using the default scope.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Log an info message using the default scope.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn asText(comptime self: Level) []const u8
Returns a string literal of the given level in full text form.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn logEnabled(comptime level: Level, comptime scope: @EnumLiteral()) bool
Determine if a specific log message level and scope combination are enabled for logging.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn scoped(comptime scope: @EnumLiteral()) type
Returns a scoped logging namespace that logs all messages using the scope provided here.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn debug(comptime format: []const u8, args: anytype) void
Log a debug message.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn err(comptime format: []const u8, args: anytype) void
Log an error message.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn info(comptime format: []const u8, args: anytype) void
Log an info message.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn warn(comptime format: []const u8, args: anytype) void
Log a warning message.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Log a warning message using the default scope.
std.logSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.