enum GLib::LogWriterOutput

Overview

Return values from #GLogWriterFuncs to indicate whether the given log entry was successfully handled by the writer, or whether there was an error in handling it (and hence a fallback writer should be used).

If a #GLogWriterFunc ignores a log entry, it should return %G_LOG_WRITER_HANDLED.

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Enum Members

Handled = 1_u32

Log writer has handled the log entry.

Unhandled = 0_u32

Log writer could not handle the log entry.

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def handled? #

[View source]
def unhandled? #

[View source]