[Jderobot-admin] jderobot-r1165 - trunk/src/stable/libs/log

rocapal en jderobot.org rocapal en jderobot.org
Mar Feb 18 13:21:31 CET 2014


Author: rocapal
Date: 2014-02-18 13:21:31 +0100 (Tue, 18 Feb 2014)
New Revision: 1165

Modified:
   trunk/src/stable/libs/log/Logger.cpp
   trunk/src/stable/libs/log/Logger.h
Log:
#164 change some methods


Modified: trunk/src/stable/libs/log/Logger.cpp
===================================================================
--- trunk/src/stable/libs/log/Logger.cpp	2014-02-17 23:02:06 UTC (rev 1164)
+++ trunk/src/stable/libs/log/Logger.cpp	2014-02-18 12:21:31 UTC (rev 1165)
@@ -59,7 +59,7 @@
 }
 
 
-void Logger::setLogFile(std::string logFile)
+void Logger::setFileLog(std::string logFile)
 {
 	mLogFile = logFile;
 
@@ -77,7 +77,7 @@
 
 }
 
-void Logger::setLogLevel(Levels level)
+void Logger::setFileLevel(Levels level)
 {
 	mLogLevel = level;
 }

Modified: trunk/src/stable/libs/log/Logger.h
===================================================================
--- trunk/src/stable/libs/log/Logger.h	2014-02-17 23:02:06 UTC (rev 1164)
+++ trunk/src/stable/libs/log/Logger.h	2014-02-18 12:21:31 UTC (rev 1165)
@@ -60,7 +60,7 @@
 		 * @param logFile The name of file
 		 *
 		 */
-		void setLogFile (std::string logFile);
+		void setFileLog (std::string logFile);
 
 		/**
 		 * \brief Set log level for log file. Just the upper levers will be saved in file.
@@ -68,7 +68,7 @@
 		 * @param levels The level of log file
 		 *
 		 */
-		void setLogLevel (enum Levels);
+		void setFileLevel (enum Levels);
 
 		/**
 		 * \brief Set log level for screen. Just the upper levers will be shown in the screen



More information about the Jderobot-admin mailing list