How does JCB automatically import Log::addLogger(); when it is used in PHP List view (controller methods) #1004
|
Hi, |
Answered by
TLWebdesign
Oct 8, 2025
Replies: 1 comment
|
You should use Joomla JPK instead of Log. See information here https://git.vdm.dev/joomla/joomla-powers So for your case instead of you would do: That way the needed use statement is added to the file and when joomla changes Log the JPK (Joomla Power Key) will take care of it. |
0 replies
Answer selected by
lemuelvdm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use Joomla JPK instead of Log.
See information here https://git.vdm.dev/joomla/joomla-powers
So for your case instead of
you would do:
That way the needed use statement is added to the file and when joomla changes Log the JPK (Joomla Power Key) will take care of it.