Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LuaGObject/log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
Expand Down
Loading