data _null_; if _n_ = 1 then do; declare logger logobj("testlog"); end; logobj.trace("Test trace message"); run;