- better logging

This commit is contained in:
Alex Ling
2020-02-17 00:33:43 +00:00
parent e5e2540b7c
commit 8119f718db
4 changed files with 46 additions and 24 deletions

View File

@@ -52,4 +52,8 @@ class MLogger
@logger.{{lvl.id}} msg
end
{% end %}
def to_json(json : JSON::Builder)
json.string self
end
end