Said in the docs : If you create a category, you have to include the header file into every file that uses it (generally in cpp files instead of header files. You don’t usually see UE_LOGs in headers).
If it doesn’t work, then the problem could be that you are not using the proper name, the exact name of the category you created. This was my case, I forgot a letter in caps somewhere.