Author: remi
Date: 2008-12-13 21:14:19 +0100 (Sat, 13 Dec 2008)
New Revision: 3093
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/complete_refactoring/src/tuxisalive/lib/driver/TuxDriver.py
Log:
* updated the log file name
* added a function to retrieve the log file path.
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/complete_refactoring/src/tuxisalive/lib/driver/TuxDriver.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/branches/complete_refactoring/src/tuxisalive/lib/driver/TuxDriver.py
2008-12-13 20:09:50 UTC (rev 3092)
+++
software_suite_v2/tuxware/pytuxisalive/branches/complete_refactoring/src/tuxisalive/lib/driver/TuxDriver.py
2008-12-13 20:14:19 UTC (rev 3093)
@@ -152,7 +152,7 @@
"""Constructor.
@param library_path: Path of libtuxdriver library. (Default None)
"""
- self.__logger = SimpleLogger("libtuxdriver_py")
+ self.__logger = SimpleLogger("libtuxdriver_wrapper")
self.__logger.setTarget(LOG_TARGET_FILE)
self.__logger.setLevel(LOG_LEVEL_DEBUG)
self.__logger.resetLog()
@@ -282,6 +282,15 @@
self.tux_driver_lib.TuxDrv_Stop()
#
--------------------------------------------------------------------------
+ # Get the log file path.
+ #
--------------------------------------------------------------------------
+ def getLogFilePath(self):
+ """Get the log file path.
+ @return: The log file path.
+ """
+ return self.__logger.getLogFilePath()
+
+ #
--------------------------------------------------------------------------
# Perform a command through libtuxdriver.
#
--------------------------------------------------------------------------
def PerformCommand(self, delay, command):
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn