From 3f07fdc48606b7c9c22fadda29ef44c41ab9a693 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 31 Oct 2015 12:36:59 +0100 Subject: User generic macro as pid --- src/pbx_sup.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/pbx_sup.erl') diff --git a/src/pbx_sup.erl b/src/pbx_sup.erl index a28b5c0..504866c 100644 --- a/src/pbx_sup.erl +++ b/src/pbx_sup.erl @@ -16,12 +16,14 @@ %% =================================================================== start_link() -> - supervisor:start_link({local, ?MODULE}, ?MODULE, []). + io:format("start_link~n", []), + supervisor:start_link({local, ?MODULE}, ?MODULE, []). %% =================================================================== %% Supervisor callbacks %% =================================================================== init([]) -> - {ok, { {one_for_one, 5, 10}, []} }. + io:format("init~n", []), + {ok, { {one_for_one, 5, 10}, []} }. -- cgit v1.2.3