diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rlx_state.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl index d03631d..65b0565 100644 --- a/src/rlx_state.erl +++ b/src/rlx_state.erl @@ -106,7 +106,9 @@ %% API %%============================================================================ %% @doc Create a new 'log level' for the system --spec new(proplists:proplist(), [atom()]) -> t(). +-spec new(proplists:proplist(), undefined | [atom()]) -> t(). +new(PropList, undefined) -> + new(PropList, [release]); new(PropList, Targets) when erlang:is_list(PropList), erlang:is_list(Targets) -> |