From d0d6420c90ae49a377f7959d3292251a06b8d65b Mon Sep 17 00:00:00 2001 From: Jaap Schouwenburg <26892829+jaapschouwenburg@users.noreply.github.com> Date: Mon, 26 Oct 2026 21:20:54 +0100 Subject: [PATCH] log: Add log level 'info' All log levels are now available. --- LuaGObject/log.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaGObject/log.lua b/LuaGObject/log.lua index e9b7edbc..bd93dce7 100644 --- a/LuaGObject/log.lua +++ b/LuaGObject/log.lua @@ -9,10 +9,10 @@ local core = require 'LuaGObject.core' local log = {} -- Creates table containing methods 'message', 'warning', 'critical', 'error', --- 'debug' methods which log to specified domain. +-- 'debug', 'info' methods which log to specified domain. function log.domain(name) local domain = log[name] or {} - for _, level in ipairs { 'message', 'warning', 'critical', 'error', 'debug' } do + for _, level in ipairs { 'message', 'warning', 'critical', 'error', 'debug', 'info' } do if not domain[level] then domain[level] = function(format, ...)