summaryrefslogtreecommitdiff
path: root/server-beta/src/pub/init.lua
blob: bf188e8d14617ce0071878054c1216dd22748cda (plain)
1
2
3
4
5
6
7
8
9
10
11
local pub = require 'pub.pub'

pub.on('log', function (params, brave)
    log.raw(brave.id, params.level, params.msg, params.src, params.line)
end)

pub.on('mem', function (count, brave)
    brave.memory = count
end)

return pub