Need your suggestion
i am in the process of writing the API for my application
Description:I have log files which maintains the time information of my application like at what time, which component was
The functions written for this log files should use my API .
Now my Application can run in standalone mode as well as it has embedded browser so it can run in that mode also.
My API should be able to support the decision of which mode,and which log files are getting used?for standalone mode the
process of storing the time information is different from that of browser mode.
The log files contains functions like getenviornment()=for getting enviornment,isbrowser()=for getting is it correct
browser,getresult()=for getting information form log files.
so i need your suggestion as what you think which functions i need to include in this API?