/
Log Functionality

Log Functionality

Log is used to keep track the flow of information/errors etc. in the project. 

//initialize log class 

this.log = VIS.Logging.VLogger.getVLogger("name"); 

Name can be any form name, class name or callout name. 

- -    - 

- -              - 

Way to use log in the project is defined below. 

  

Four levels are defined below: 

this.log.log(VIS.Logging.Level.SEVERE, "cretical error"); 

this.log.log(VIS.Logging.Level.INFO "INFO");

this.log.log(VIS.Logging.Level.WARNING, "WARNING"); 

this.log.log(VIS.Logging.Level.FINE, "OFF"); 

  

Also shorthand for these levels is: 

  

this.log.severe(“msg”); 

this.log.warning(“msg”); 

this.log.fine(“msg); 

this.log.fine(“msg); 

  

In Preference window, Error tab show the log result.  

 

Related content

Action Log History
Action Log History
More like this
Vienna Advantage Professional (VISPRO_)
Vienna Advantage Professional (VISPRO_)
More like this
User Manual – Mobile Calling
User Manual – Mobile Calling
More like this
Usage
More like this
Message Display as a Popup Window
Message Display as a Popup Window
More like this
Calling Callout From Callout Engine
Calling Callout From Callout Engine
More like this