Skip to content
Discussion options

You must be logged in to vote

You should use Joomla JPK instead of Log.

See information here https://git.vdm.dev/joomla/joomla-powers

So for your case instead of

Log::addLogger

you would do:

Joomla___b8246a5d_54eb_4e3d_83c2_d7bed1270062___Power::addLogger

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lemuelvdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants