summaryrefslogtreecommitdiff
path: root/src/plop_sup.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-04 19:56:38 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-04 19:56:44 +0200
commit87757c2219744426a1d5c9c698e109c47ea892da (patch)
treec935b209f566a175994a797a910ba45da3243adf /src/plop_sup.erl
parentb95fac93ba4bcdfcff7a18718eb587593660bb6c (diff)
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.
Diffstat (limited to 'src/plop_sup.erl')
-rw-r--r--src/plop_sup.erl3
1 files changed, 2 insertions, 1 deletions
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.