cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to write custom messages in the DEBUG log using lc_log?

How to write custom messages in the DEBUG log using lc_log?

Summary

How to write custom messages in the DEBUG log using lc_log?

Synopsis

The API that we can call from the vendor daemon that will allow us to write a message to the debug log file would be "lc_log".

Discussion

Just add this piece of code anywhere after the lc_checkout call and after each checkout, we can get our customized message in the DEBUG log.
(void) lc_log(lm_job, "Print your messages in the debug loh: HERE\n\n\n");
Labels (1)
No ratings
Version history
Last update:
‎Oct 19, 2012 06:45 AM
Updated by: