Sha256: e189dd627ce9bc7997b5b0307f1009bd3a0d784130241bf7c369e41ab6dfafeb
Contents?: true
Size: 411 Bytes
Versions: 27
Compression:
Stored size: 411 Bytes
Contents
-module(logger_sup). -behaviour(supervisor). -export([start_link/0, init/1]). start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> {ok, LogLevel} = application:get_env(ernie_server_app, log_level), io:format("Using log level ~p~n", [LogLevel]), {ok, {{one_for_one, 1, 60}, [{logger, {logger, start_link, [[LogLevel]]}, permanent, brutal_kill, worker, [logger]}]}}.
Version data entries
27 entries across 27 versions & 3 rubygems