felipe.rivero Posted May 3, 2021 Report Posted May 3, 2021 I have been creating a custom module to learn blesta. I want to be able to print custom logs in the methods that I am implementing to be able to see the flows from the backend. How can I do this?? Quote
0 Blesta Addons Posted May 3, 2021 Report Posted May 3, 2021 1 hour ago, felipe.rivero said: I have been creating a custom module to learn blesta. I want to be able to print custom logs in the methods that I am implementing to be able to see the flows from the backend. How can I do this?? in module class, you can use the core log function $this->log(); sample like $this->log( 'server name', serialize(['var' => $params['username'], 'var_2' => 'some value']), 'input', // this can be also 'output' true // this can be false in case of error ); Quote
Question
felipe.rivero
I have been creating a custom module to learn blesta. I want to be able to print custom logs in the methods that I am implementing to be able to see the flows from the backend.
How can I do this??
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.