proto/log_level.proto#
Normative. proto/** is part of specs/ ([STYL.2.14.1]); message names, field numbers, types and reserved ranges carry the same force as a clause of English ([STYL.2.14.2]). Cite this file as proto/log_level.proto and a message within it as proto/log_level.proto#<Message> ([STYL.2.14.3]). This page is the protobuf source, rendered.
/* SPDX-FileCopyrightText: 2026 Dan Finster and the Desert Sage Contributors */
/* SPDX-License-Identifier: BSD-4-Clause OR AGPL-3.0-or-later */
syntax = "proto3";
package ds.v1;
LogSeverity#
// The log level, the single definition ([STYL.5.9.7]). It is the number in
// `FN_LOG`'s level operand (RLOW.7.7.1), `OracleLog.severity`, and libds's
// `ds_log_level_t`, which mirrors it member for member and value for value.
//
// 0-based with no UNSPECIFIED member: every site that carries a level carries
// one of these five, so zero is DEBUG.
enum LogSeverity {
LOG_SEVERITY_DEBUG = 0;
LOG_SEVERITY_INFO = 1;
LOG_SEVERITY_WARNING = 2;
LOG_SEVERITY_ERROR = 3;
LOG_SEVERITY_CRITICAL = 4;
}