[r817]: / branches / FeatureBranches / Debuglogging / SparkplugB / Function Blocks / CmpSparkplugLog / CmpSparkplugLog_1 / CreateLogger / svnobj  Maximize  Restore  History

Download this file

6 lines (5 with data), 1.1 kB

1
2
3
4
5
IF _hLog = 0 THEN
    _hLog := CmpLog.LogCreate( ADR( _LogOptions ), _pResult );
END_IF
// Show that logger is created
LogCreated := _hLog <> 0;