The credential course, "Scripting in Ignition" section should have a video about how to use logger (system.util.getLogger).