Posted by member 12025 on 2006-12-10 17:29:53 link
Oh, OK, require "log" to load it.
log.info (text,text)
log.warn (text,text)
log.warning (text,text)
log.error (text,text)
All add to the current log (for my use, I made them globals).
log.flush () will force it to go out to a file.
Ex:
log.info (text,text)
log.warn (text,text)
log.warning (text,text)
log.error (text,text)
All add to the current log (for my use, I made them globals).
log.flush () will force it to go out to a file.
Ex:
require "log"
log.info ("modules","loaded xPopup")
log.info ("modules","loaded xTaskbar")
log.info ("modules","loaded ckHotSpots")
log.error ("boxlabels", "this should not be logged. Bad script!")
log.flush ()
log.info ("modules","loaded xPopup")
log.info ("modules","loaded xTaskbar")
log.info ("modules","loaded ckHotSpots")
log.error ("boxlabels", "this should not be logged. Bad script!")
log.flush ()