====== 13 Comfort VIs ===== The HSE Logger is based on an object-oriented architecture, so you can instantiate any number of logging objects and wire them as you see fit. Additionally, the HSE Logger comes with a "comfort feature": You can instantiate a global logging object and use the //Comfort VIs// in your code. This eliminates the need for wiring the logging object into all the places you want to augment with logging. See the [[code:open-source:hse-logger:example|Example]] for more details on this. ==== DEBUG ==== | {{:code:open-source:hse-logger:hse-logger_DEBUG.png?direct&|}} | ==== INFO ==== | {{:code:open-source:hse-logger:hse-logger_info.png?direct&|}} | ==== WARNING ==== | {{:code:open-source:hse-logger:hse-logger_WARNING.png?direct&|}} | ==== ERROR ==== | {{:code:open-source:hse-logger:hse-logger_ERROR.png?direct&|}} | ==== CRITICAL ==== | {{:code:open-source:hse-logger:hse-logger_CRITICAL.png?direct&|}} | ---- ==== Error Handling ==== ''ERROR'' and ''CRITICAL'' will only log in case of error: | {{:code:open-source:hse-logger:logger-error.png?direct&600|}} | ''DEBUG'', ''INFO'' and ''WARNING'' will always create a log entry: | {{:code:open-source:hse-logger:logger-info.png?direct&600|}} |