{
LEVEL_DEBUG = 0,
LEVEL_INFO = 1,
LEVEL_WARNING = 2,
LEVEL_ERROR = 3,
LEVEL_FATAL = 99,
}
local lvl = event.LEVEL_INFO
{
EVENT_SYS,
EVENT_DEV,
EVENT_COMM,
EVENT_DATA,
EVENT_APP,
}
local type = event.EVENT_DATA
function type_to_string(type)
end
print(event.type_to_string(event.LEVEL_INFO))