0

I created a CUSTOM PLUGIN and I have the following code:

Event::on(FOO::class, FOO::EVENT_NAMED_BAR, function(Event $e) {

     $message = "Hello world";

     // craft::error( $message );
     // craft::warning( $message );
     // craft::info( $message );

});

My Question: Is it possible to write to the console during an EVENT in Craft?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.