Upgrade that debug statement to a warning + test we get the warning we expect to
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index f990429..278a2f5 100644 (file)
@@ -897,7 +897,7 @@ sub plugin {
     my ( $class, $name, $plugin, @args ) = @_;
 
     # See block comment in t/unit_core_plugin.t    
-    $class->log->debug(qq/Adding plugin using the ->plugin method is deprecated, and will be removed in Catalyst 5.9/);
+    $class->log->warn(qq/Adding plugin using the ->plugin method is deprecated, and will be removed in Catalyst 5.9/);
     
     $class->_register_plugin( $plugin, 1 );