This document was generated from CDN thread
Created by: null on 24-11-2005 06:40:42 AM
Hi,
Is it possible to write to an applications error log? Or is that log reserved for Audium use?
Thanks.
Subject: RE: Can an application developer write to the error log?
Replied by: Michael Bochynski on 28-11-2005 02:36:16 PM
Hi,
Yes, of course. Java API for Audium Call Services allows you to write to both application and error log files.
If you want to write to the application's log file, you have to use the [b:5ba98130c6]addToLog(String dataName, String dataValue)[/b:5ba98130c6] method. For writing to the error log, you have to use the [b:5ba98130c6]logError (string error) [/b:5ba98130c6] method.
Both methods are available in the [b:5ba98130c6]com.audium.server.session.APIBase[/b:5ba98130c6] package.
Regards,
Michael