How to log in LanguagePlatform.TranslationMemoryApi for Machine Translation Provider

How can you log within a plugin that uses the LanguagePlatform.TranslationMemoryApi SDK for Trados 2021.

I tried to implement the NLog class used in the DeepL Community example from Github but there is no file created during runtime.

Sdl-Community/Log.cs at master · sdl/Sdl-Community (github.com)

Regards,

Colin

Parents Reply
  • Hi Emanuel,

    Apologies my answer was not very clear. I should have said, "There was a mistake in MY configuration of the rules for the target..."

    When I added the logger code from the SDL Community Github to my project, I should have updated the code to use my project names and remove all use of the "DeepL" naming convention in the logger.

    Because I had "*DeepL*" left in the target rule all of my loggers didn't know to write to that <target> file as none of them have DeepL in their names.

    Thanks for pointing that out so others don't get mislead by my answer.

Children