Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Trying to add some debug logging to v7.6 (working out why our.umbraco.migration is simply not doing anything).
Following the instructions on https://our.umbraco.com/Documentation/Fundamentals/Code/Debugging/Logging/index-v7
However, when I add the line to the cs file added for the migration
LogHelper.Info(this.GetType(),"Your logging message");
I get 'ILogger should be used instead' ?
The same line works fine for the cshtml template file that tells me the UDI is wrong.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Setting up logging for debugging (v7.6)
Trying to add some debug logging to v7.6 (working out why our.umbraco.migration is simply not doing anything).
Following the instructions on https://our.umbraco.com/Documentation/Fundamentals/Code/Debugging/Logging/index-v7
However, when I add the line to the cs file added for the migration
I get 'ILogger should be used instead' ?
The same line works fine for the cshtml template file that tells me the UDI is wrong.
is working on a reply...