fix Catalyst::Log's constructor to be more standard
authorGraham Knop <haarg@haarg.org>
Mon, 3 Jun 2019 21:51:37 +0000 (23:51 +0200)
committerGraham Knop <haarg@haarg.org>
Mon, 3 Jun 2019 21:51:37 +0000 (23:51 +0200)
commitbb7d3f91467380125e331f571f5151f77e0ef498
treeb425de8decc367b02af7d72258f2bd5df57e0f9f
parent4476dedf297994299104b48230ff6a2a4d3d6003
fix Catalyst::Log's constructor to be more standard

Avoid wrapping 'new', and instead use a BUILDARGS that can accept more
than just a list of levels.  This also allows the constructor to be made
immutable.
lib/Catalyst/Log.pm