Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 427 Bytes
-module(n2o_io).
-description('N2O LOG Console').
-export([info/3, warning/3, error/3]).
info(Module, String, Args) ->
io:format(format_message(Module, String), Args).
warning(Module, String, Args) ->
io:format(format_message(Module, String), Args).
error(Module, String, Args) ->
io:format(format_message(Module, String), Args).
format_message(Module, String) ->
lists:concat([Module, ":", String, "\n"]).