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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.