<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>Recent changes to Home</description><language>en</language><lastBuildDate>Thu, 02 Apr 2020 15:36:30 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/lib/debuglogger/home/Home/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Discussion for Home page</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/?limit=25#bbbf/bd6c/f2a6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm, tough call on the deprecation.&lt;br/&gt;
Pros for deprecation: &lt;br/&gt;
I think DebugLog_Lib() works in all cases.&lt;br/&gt;
Can easily store the Log in retain.&lt;br/&gt;
Can easily have multiple logs.&lt;/p&gt;
&lt;p&gt;Cons for deprecation:&lt;br/&gt;
but DebugLog() is easier to use if you just want to write a log (and you have control over the application Library Manager).&lt;/p&gt;
&lt;p&gt;I would be happy to &lt;strong&gt;deprecate it&lt;/strong&gt; though, in favour of the more universal DebugLog_Lib().  In which case.. we should &lt;strong&gt;rename the new function to DebugLog2()&lt;/strong&gt;.  Or, if you are happy to make a breaking change, simply replace it.&lt;/p&gt;
&lt;p&gt;I have no attachment to the old implementation, so others may feel unkindly if we broke it for them.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i-campbell</dc:creator><pubDate>Thu, 02 Apr 2020 15:36:30 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6f0fa48b8af8854a701bb4750207f05ef25ebfef</guid></item><item><title>Discussion for Home page</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/?limit=250#bbbf/bd6c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Great work! Will check and merge.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Thu, 02 Apr 2020 07:07:17 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comaea1deafa5c91b74dc103c187598c257d395cb4d</guid></item><item><title>Discussion for Home page</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/?limit=25#bbbf</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Merge Request:&lt;br/&gt;
Please review/accept this change.  I have added support for using this from a library, as libraries do not have access to parameters.  I have also added a "unit test".  In this change, I also made the old call (DebugLog()) just a wrapper for the new call (DebugLog_Lib()) to make future changes easier.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i-campbell</dc:creator><pubDate>Thu, 02 Apr 2020 01:23:32 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com9499a204ab6377bd10af212ffbb18b7316a43020</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -18,8 +18,8 @@

 Parameters are:

-        sMessage   : T_MaxString;                   // Message (max 255 chars)
-        ePriority  : E_DebugMessagePriority;       // A given priority
+        sMessage : T_MaxString;             // Message (max 255 chars)
+        ePriority : E_DebugMessagePriority; // A given priority

 Priorities are:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Sat, 21 Mar 2020 13:27:26 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comea14637d2dfb1dd85f3e1a3fc2e0993199486aba</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -33,14 +33,7 @@

 # Changing the default ringbuffer size;
 No coding neccesary! 
-You can change the iMaxDebugEntries in the DebugLogParam library parameter dialog;
-[[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/DebugLogger%20iMaxDebugEntries%20parameter%20change.png?format=raw width=100%]]
+You can change the iMaxDebugEntries in the DebugLogParam library parameter dialog

 # Opening the global message Queue online;
-Open the library manager, select GVL_DEBUG in DebugLogger,
-
-Doubleclick;
-[[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/GVL_DEBUG%20online.png?format=raw width=100%]]
-
-Result;
-[[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/GVL_DEBUG%20online%202.png?format=raw width=100%]]
+Open the library manager, select GVL_DEBUG in DebugLogger and doubleclick it.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Sat, 21 Mar 2020 13:26:37 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.come7cd1229c761bf25d66abeee479c54dd5507ecc3</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -1,16 +1,17 @@
 [[members limit=20]]
 [[download url=https://forge.codesys.com/lib/debuglogger/code/HEAD/tree/tags/v0.0.0.2/DebugLogger.library?format=raw label=DebugLogger]]

+CODESYS V23 version by Sebastian Rau: https://github.com/SebastianRau/Codesys2-DebugMessages
 # DebugLogger
-CodesysV23 version by Sebastian Rau: https://github.com/SebastianRau/Codesys2-DebugMessages
+Goal:
+   A quick and easy "replacement" of the Device Log, implemented as a pure software solution.

-# Adds debug messages to a global array (message Queue) in your application
-Use case:
-    
-   Add/ save debug messages (or any other info) in a global message Queue
-
+Use case:   
+   Add debug messages (or other info) in a pure software global message Queue.
+   Advantage of this approach over the Device Log is that this solution is easier to implement and one has greater control over the global message Queue.
+   The global message Queue can be accessed via HMI while the device log cannot (at least not this easy)
+   
 Usage:
-
    Include the .Library in your project,
    (optional) write time of the Event to stDebugInformation.dtActualTime := SOME_DT_VAR;
    Call function DebugLog(...) to add a Message to the Ringbuffer. 
@@ -30,15 +31,16 @@

 All messages will be added to the stDebugInformation Struct in Global Variables of the Library.

-# Change the default Ringbuffer size;
-No coding neccesary! You can change the iMaxDebugEntries in the DebugLogParam library parameter dialog;
+# Changing the default ringbuffer size;
+No coding neccesary! 
+You can change the iMaxDebugEntries in the DebugLogParam library parameter dialog;
 [[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/DebugLogger%20iMaxDebugEntries%20parameter%20change.png?format=raw width=100%]]

 # Opening the global message Queue online;
 Open the library manager, select GVL_DEBUG in DebugLogger,

-Doubleclick here;
+Doubleclick;
 [[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/GVL_DEBUG%20online.png?format=raw width=100%]]

-Results into;
+Result;
 [[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/GVL_DEBUG%20online%202.png?format=raw width=100%]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Mon, 08 Jul 2019 20:24:20 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com9bb058f567b78dffcb405f2861a52b0eb1b888f0</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -1,9 +1,8 @@
 [[members limit=20]]
-[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=DebugLogger]]
+[[download url=https://forge.codesys.com/lib/debuglogger/code/HEAD/tree/tags/v0.0.0.2/DebugLogger.library?format=raw label=DebugLogger]]

-# DebugLogger for CODESYS V3 
-Reworked for CODESYS3 from the original poster: https://github.com/SebastianRau/Codesys2-DebugMessages
-
+# DebugLogger
+CodesysV23 version by Sebastian Rau: https://github.com/SebastianRau/Codesys2-DebugMessages

 # Adds debug messages to a global array (message Queue) in your application
 Use case:
@@ -12,13 +11,13 @@

 Usage:

-   Include the .Library,
-   (optional) write the actucal time to stDebugInformation.dtActualTime := SOME_DT_VAR;
+   Include the .Library in your project,
+   (optional) write time of the Event to stDebugInformation.dtActualTime := SOME_DT_VAR;
    Call function DebugLog(...) to add a Message to the Ringbuffer. 

 Parameters are:

-        sMessage   : STRING(64);                   // Your debug log message
+        sMessage   : T_MaxString;                   // Message (max 255 chars)
         ePriority  : E_DebugMessagePriority;       // A given priority

 Priorities are:
@@ -32,7 +31,7 @@
 All messages will be added to the stDebugInformation Struct in Global Variables of the Library.

 # Change the default Ringbuffer size;
-No coding neccesary, just change the iMaxDebugEntries in the DebugLogParam library parameter dialog;
+No coding neccesary! You can change the iMaxDebugEntries in the DebugLogParam library parameter dialog;
 [[img src=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/pics/DebugLogger%20iMaxDebugEntries%20parameter%20change.png?format=raw width=100%]]

 # Opening the global message Queue online;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Fri, 17 May 2019 15:05:41 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6cff042ad1514bd6ad03ffd54da205488f815770</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -1,5 +1,5 @@
 [[members limit=20]]
-[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=Debug-Logger]]
+[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=DebugLogger]]

 # DebugLogger for CODESYS V3 
 Reworked for CODESYS3 from the original poster: https://github.com/SebastianRau/Codesys2-DebugMessages
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Wed, 15 May 2019 15:27:50 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6a817243fd55459e742b75563418205dd3270185</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v17
+++ v18
@@ -1,5 +1,5 @@
 [[members limit=20]]
-[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=Debug Logger]]
+[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=Debug-Logger]]

 # DebugLogger for CODESYS V3 
 Reworked for CODESYS3 from the original poster: https://github.com/SebastianRau/Codesys2-DebugMessages
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Wed, 15 May 2019 15:27:33 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.come311226099afe79fcec96cea0e435fb56212b862</guid></item><item><title>Home modified by aliazzz</title><link>https://forge.codesys.com/lib/debuglogger/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -1,5 +1,5 @@
 [[members limit=20]]
-[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw]]
+[[download url=https://forge.codesys.com/lib/debuglogger/git/ci/master/tree/Lib_DebugLogger_01.library?format=raw label=Debug Logger]]

 # DebugLogger for CODESYS V3 
 Reworked for CODESYS3 from the original poster: https://github.com/SebastianRau/Codesys2-DebugMessages
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Wed, 15 May 2019 15:27:11 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com5182c522705cf002da3bc8942219a98612232837</guid></item></channel></rss>