<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ScriptLogger</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>Recent changes to ScriptLogger</description><atom:link href="https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 02 Sep 2015 18:54:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/feed" rel="self" type="application/rss+xml"/><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -53,46 +53,3 @@
     }
 }
 ~~~~~~
-
-
-
-
-**Sample where SDK use Logger**
-
-
-
-~~~~~~
-        public static void Ignore(List&amp;lt;uint&amp;gt; list)
-        {
-            if (AutoGCMode)
-            {
-                if (GCCache == null)
-                    GCCache = new List&amp;lt;DateTime&amp;gt;();
-
-                if (GCCache.Count &amp;gt; 0 &amp;amp;&amp;amp; DateTime.UtcNow - GCCache.Last() &amp;gt; GCDelay)
-                {
-#if DEBUG
-                    ScriptLogger.WriteLine("Clearing Items from Client Cache");
-#endif
-                    Stealth.Default.IgnoreReset();
-                }
-            }
-            foreach (var e in list)
-                Stealth.Default.Ignore(e);
-#if DEBUG
-            ScriptLogger.WriteLine(string.Format("Adding {0} Items from Client Cache", list.Count));
-#endif
-
-            if (AutoGCMode)
-            {
-                if (GCCache == null)
-                    GCCache = new List&amp;lt;DateTime&amp;gt;();
-
-                var now = DateTime.UtcNow;
-#if DEBUG
-                ScriptLogger.WriteLine(string.Format("{0} New Items Cached  =&amp;gt; {1}", list.Count, now));
-#endif
-                GCCache.Add(now);
-            }
-        }
-~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 18:54:02 -0000</pubDate><guid>https://sourceforge.net7700ea6df56730d7c489fd6e1f362f3ea7a1f5db</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -54,7 +54,12 @@
 }
 ~~~~~~

+
+
+
 **Sample where SDK use Logger**
+
+

 ~~~~~~
         public static void Ignore(List&amp;lt;uint&amp;gt; list)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:09:17 -0000</pubDate><guid>https://sourceforge.neta7489d296548b94af4ac90c6edb559b3a8d1b4e7</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -55,6 +55,7 @@
 ~~~~~~

 **Sample where SDK use Logger**
+
 ~~~~~~
         public static void Ignore(List&amp;lt;uint&amp;gt; list)
         {
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:08:56 -0000</pubDate><guid>https://sourceforge.net9a68e4c8892e892f1ebe060786c8ee837aab0c3b</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -53,3 +53,40 @@
     }
 }
 ~~~~~~
+
+**Sample where SDK use Logger**
+~~~~~~
+        public static void Ignore(List&amp;lt;uint&amp;gt; list)
+        {
+            if (AutoGCMode)
+            {
+                if (GCCache == null)
+                    GCCache = new List&amp;lt;DateTime&amp;gt;();
+
+                if (GCCache.Count &amp;gt; 0 &amp;amp;&amp;amp; DateTime.UtcNow - GCCache.Last() &amp;gt; GCDelay)
+                {
+#if DEBUG
+                    ScriptLogger.WriteLine("Clearing Items from Client Cache");
+#endif
+                    Stealth.Default.IgnoreReset();
+                }
+            }
+            foreach (var e in list)
+                Stealth.Default.Ignore(e);
+#if DEBUG
+            ScriptLogger.WriteLine(string.Format("Adding {0} Items from Client Cache", list.Count));
+#endif
+
+            if (AutoGCMode)
+            {
+                if (GCCache == null)
+                    GCCache = new List&amp;lt;DateTime&amp;gt;();
+
+                var now = DateTime.UtcNow;
+#if DEBUG
+                ScriptLogger.WriteLine(string.Format("{0} New Items Cached  =&amp;gt; {1}", list.Count, now));
+#endif
+                GCCache.Add(now);
+            }
+        }
+~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:08:27 -0000</pubDate><guid>https://sourceforge.neteead838dc19bfe1bf64693e75d400bd986d7d073</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -25,7 +25,8 @@

 **Sample**

-:::csharp
+
+~~~~~~
 using System;
 using ScriptSDK.Engines;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:06:29 -0000</pubDate><guid>https://sourceforge.net123b355ac58fc0a68a564f2e582a17c9b22b0b23</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -26,7 +26,6 @@
 **Sample**

 :::csharp
-~~~~~~
 using System;
 using ScriptSDK.Engines;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:02:12 -0000</pubDate><guid>https://sourceforge.netb3daa1be4b29958578e3f0169d6cdced3f2e845c</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -13,12 +13,14 @@

 **Functions**
+
 * Initialize() =&amp;gt; Configurate basic handling
 * WriteLine(string text) =&amp;gt; Writes text to enabled logging engine. 1 Text means 1 line.
 * Write(string text)  =&amp;gt; Analog to WriteLine, but on Console not calls a new Line.

 **Events**
+
 * OnLogging : ScriptLoggerArgs =&amp;gt; Allows to Handle Custom Logging. ScriptLoggerArgs containing Text and if method writeline (full = true) or method write (full = false) has been called.

 **Sample**
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 17:00:20 -0000</pubDate><guid>https://sourceforge.net8ca7b07eedaefe6866387b3fbc88c1fe4b0c2daa</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -23,6 +23,7 @@

 **Sample**

+:::csharp
 ~~~~~~
 using System;
 using ScriptSDK.Engines;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 16:59:30 -0000</pubDate><guid>https://sourceforge.net2bd416c9155583c85c469d1c95d8d5902723cda1</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -23,7 +23,8 @@

 **Sample**

-&amp;gt; using System;
+~~~~~~
+using System;
 using ScriptSDK.Engines;

 namespace App
@@ -48,4 +49,4 @@
         }
     }
 }
-&amp;gt; 
+~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 16:43:55 -0000</pubDate><guid>https://sourceforge.net3369987e293623e33563084289abda80a08bc595</guid></item><item><title>ScriptLogger modified by Jan Siems</title><link>https://sourceforge.net/p/scriptsdk/wiki/ScriptLogger/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,3 +1,51 @@
 The Class **Scriptlogger** is a static class wich allows multilevel logging within the .NET and Stealth Envirement.

 Before calling the ScriptLogger for firsttime, you always should keep sure to call **ScriptLogger.Initialize();**.
+
+
+**Properties**
+
+* LogToStealth (Administration of Logfiles wich should be written to Stealth Console)
+* LogToIDE (Administration of Logfiles wich should be written to Visual Studio´s Debug Console)
+* LogToConsole (Administration of Logfiles wich should be written to native Console)
+* LogToFile (Administration of logfiles wich should be written to file designed on property "FileName")
+* FileName (Administration of wich file the LogToFile method should write)
+
+
+**Functions**
+* Initialize() =&amp;gt; Configurate basic handling
+* WriteLine(string text) =&amp;gt; Writes text to enabled logging engine. 1 Text means 1 line.
+* Write(string text)  =&amp;gt; Analog to WriteLine, but on Console not calls a new Line.
+
+
+**Events**
+* OnLogging : ScriptLoggerArgs =&amp;gt; Allows to Handle Custom Logging. ScriptLoggerArgs containing Text and if method writeline (full = true) or method write (full = false) has been called.
+
+**Sample**
+
+&amp;gt; using System;
+using ScriptSDK.Engines;
+
+namespace App
+{
+    internal static class Program
+    {
+        [STAThread]
+        private static void Main()
+        {
+            ScriptLogger.Initialize(); // Should be always called once before using the ScriptLogger
+            ScriptLogger.LogToStealth = true; //Allows logger to Write to Stealth UI Console
+            ScriptLogger.LogToConsole = true; //Allows logger to Write to .Net Console (if active)
+            ScriptLogger.LogToIDE = true; //Allows logger to write to Visual Studio related Debug Log
+            /*
+             Sends Text to Enabled Engines. On IDE and Console its a print without linebreak, on Stealth with Linebreak
+             */
+            ScriptLogger.Write("Hello World");
+            /*
+             Sends Text to Enabled Engines. On IDE and Console its a print with linebreak
+             */
+            ScriptLogger.Write("Hello World with a new line :D");
+        }
+    }
+}
+&amp;gt; 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Siems</dc:creator><pubDate>Wed, 02 Sep 2015 16:42:42 -0000</pubDate><guid>https://sourceforge.net41dde8371dcd1946b321f80f26ff3ce2bc06c6f1</guid></item></channel></rss>