Good point.  This satisfied dialyzer based on init usage in the same
module, but is far from complete.


On Fri, Apr 12, 2013 at 8:11 AM, Andrew Thompson
<notifications@github.com>wrote:

> In src/lager_file_backend.erl:
>
> > @@ -71,7 +71,7 @@
> >      }).
> >
> >  %% @private
> > --spec init([{string(), lager:log_level()},...]) -> {ok, #state{}}.
> > +-spec init([{atom(), lager:log_level()},...]) -> {ok, #state{}}.
>
> This spec isn't right either, there's so many forms you can pass now,
> because of backwards compatibility, that I'm not sure a correct spec can be
> written.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/basho/lager/pull/131/files#r3773888>
> .
>