-module(svp_tui).
-behavior(gen_server).
-export([init/1, start_link/0 ,handle_cast/2,handle_call/3]).

start_link() -> gen_server:start_link(?MODULE, [],[]).
init([]) -> {ok, ?MODULE}.

handle_call(Msg,From,Logs) ->
	io:format("~p~n",[Msg]),
	{reply,From,[{Msg,From}|Logs]}.

handle_cast(Msg,Logs) ->
	io:format("~p~n",[Msg]),
	{noreply,[{Msg,annonymous}|Logs]}.

