Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Namespace

LOG

Public Namespace
std.posix.LOG
pub const LOG = struct

Values

  • pub const EMERG

    system is unusable

  • pub const ALERT

    action must be taken immediately

  • pub const CRIT

    critical conditions

  • pub const ERR

    error conditions

  • pub const WARNING

    warning conditions

  • pub const NOTICE

    normal but significant condition

  • pub const INFO

    informational

  • pub const DEBUG

    debug-level messages

File

posix.zig:269
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
pub const LOG = struct {
    /// system is unusable
    pub const EMERG = 0;
    /// action must be taken immediately
    pub const ALERT = 1;
    /// critical conditions
    pub const CRIT = 2;
    /// error conditions
    pub const ERR = 3;
    /// warning conditions
    pub const WARNING = 4;
    /// normal but significant condition
    pub const NOTICE = 5;
    /// informational
    pub const INFO = 6;
    /// debug-level messages
    pub const DEBUG = 7;
}