From 87757c2219744426a1d5c9c698e109c47ea892da Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 4 May 2014 19:56:38 +0200 Subject: Adopt to first user -- ctls. Return #spt_on_wire instead of serialised version of it -- user wants the timestamp in there. Store that in db too. Export serialise/1 for user to do it themselves. Add get_logid/1 -- user needs that for the CST. Make sure 'now' is turned into a proper timestamp at all levels. Debug printout in plop start_link. --- src/plop_sup.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plop_sup.erl') diff --git a/src/plop_sup.erl b/src/plop_sup.erl index 1d08d60..08ccdcb 100644 --- a/src/plop_sup.erl +++ b/src/plop_sup.erl @@ -2,9 +2,10 @@ -behaviour(supervisor). -export([start_link/1, init/1]). --export([start_in_shell/0]). +-export([start_in_shell/1]). start_link(Args) -> + io:format("plop_sup:start_link got args ~p~n", [Args]), supervisor:start_link({local, ?MODULE}, ?MODULE, Args). %% For testing. -- cgit v1.1