Parcourir la source

Move logger header files

Patrick il y a 4 ans
Parent
commit
ad4574537c

+ 3 - 3
CMakeLists.txt

@@ -76,13 +76,13 @@ set(SOURCE_FILES
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/IStorable.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/StorableFile.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/StorableFile.cpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevel.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/io/logging/LogLevel.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileOutputStream.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileOutputStream.cpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/Logger.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/io/logging/Logger.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/Logger.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevel.cpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevelValue.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/io/logging/LogLevelValue.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/ISerializable.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONInteger.cpp

+ 1 - 1
source/ls_std/io/logging/LogLevel.hpp → include/ls_std/io/logging/LogLevel.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_LOG_LEVEL_HPP
 
 #include <unordered_map>
-#include "../../../../include/ls_std/base/Class.hpp"
+#include "../../base/Class.hpp"
 #include "LogLevelValue.hpp"
 
 namespace ls_std {

+ 1 - 1
source/ls_std/io/logging/LogLevelValue.hpp → include/ls_std/io/logging/LogLevelValue.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-10-29
+ * Changed:         2020-11-06
  *
  * */
 

+ 4 - 4
source/ls_std/io/logging/Logger.hpp → include/ls_std/io/logging/Logger.hpp

@@ -10,11 +10,11 @@
 #ifndef LS_STD_LOGGER_HPP
 #define LS_STD_LOGGER_HPP
 
-#include "../../../../include/ls_std/base/Class.hpp"
+#include "../../base/Class.hpp"
 #include "LogLevel.hpp"
-#include "../IWriter.hpp"
-#include "../File.hpp"
-#include "../FileOutputStream.hpp"
+#include "ls_std/io/IWriter.hpp"
+#include "ls_std/io/File.hpp"
+#include "ls_std/io/FileOutputStream.hpp"
 #include <string>
 
 namespace ls_std {

+ 2 - 2
source/ls_std/io/logging/LogLevel.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-10-29
+ * Changed:         2020-11-06
  *
  * */
 
-#include "LogLevel.hpp"
+#include "../../../../include/ls_std/io/logging/LogLevel.hpp"
 
 ls_std::LogLevel::LogLevel(const ls_std::LogLevelValue& _value) : Class("LogLevel"),
 value(_value)

+ 1 - 1
source/ls_std/io/logging/Logger.cpp

@@ -7,7 +7,7 @@
  *
  * */
 
-#include "Logger.hpp"
+#include "../../../../include/ls_std/io/logging/Logger.hpp"
 #include "../../time/Date.hpp"
 #include "../NewLine.hpp"
 #include "../../../../include/ls_std/boxing/String.hpp"

+ 3 - 3
source/ls_std/ls_std.hpp

@@ -27,9 +27,9 @@
 #include "../../include/ls_std/exception/IllegalArgumentException.hpp"
 #include "../../include/ls_std/exception/IllegalArithmeticOperationException.hpp"
 
-#include "io/logging/LogLevel.hpp"
-#include "io/logging/LogLevelValue.hpp"
-#include "io/logging/Logger.hpp"
+#include "../../include/ls_std/io/logging/LogLevel.hpp"
+#include "../../include/ls_std/io/logging/LogLevelValue.hpp"
+#include "../../include/ls_std/io/logging/Logger.hpp"
 #include "io/xml/XMLReaderMock.hpp"
 #include "io/xml/XMLReader.hpp"
 #include "io/xml/XMLParseMode.hpp"