Logger in an abstractVisionComponent?

I added a logger in an abstractVisionComponent as follow :
private static Logger logger = Logger.getLogger(JMapViewerComponent.class);
logs appear in the ignition Console.

Is it the right way to log for a Vision Component ?
Another ignition method to use ?

Yes. If you want to expose your logger with a different name by doing the following:private static Logger logger = Logger.getLogger("MyComponents.MapViewer");