|
From: <ad...@us...> - 2007-02-03 23:48:14
|
Revision: 44
http://svn.sourceforge.net/g3l/?rev=44&view=rev
Author: adamluk
Date: 2007-02-03 15:48:14 -0800 (Sat, 03 Feb 2007)
Log Message:
-----------
Created new collection Queue, abstract class LoggerEventHandler, the new Log object and tidied Debug.Log naming of classes and structure.
Modified Paths:
--------------
src/trunk/G3L.Core/G3L.Core.csproj
src/trunk/G3L.Debug/G3L.Debug.csproj
src/trunk/G3L.Debug/Log/LogMessage.cs
src/trunk/G3L.Debug/Log/Logger.cs
src/trunk/G3L.UnitTests/G3L.UnitTests.csproj
src/trunk/G3L.suo
Added Paths:
-----------
src/trunk/G3L.Core/Collections/
src/trunk/G3L.Core/Collections/Queue.cs
src/trunk/G3L.Core/bin/Debug/G3L.Core.dll
src/trunk/G3L.Core/bin/Debug/G3L.Core.pdb
src/trunk/G3L.Core/obj/Debug/G3L.Core.dll
src/trunk/G3L.Core/obj/Debug/G3L.Core.pdb
src/trunk/G3L.Core/obj/Debug/Refactor/
src/trunk/G3L.Core/obj/G3L.Core.csproj.FileList.txt
src/trunk/G3L.Data/bin/Debug/G3L.Data.dll
src/trunk/G3L.Data/bin/Debug/G3L.Data.pdb
src/trunk/G3L.Data/obj/Debug/G3L.Data.dll
src/trunk/G3L.Data/obj/Debug/G3L.Data.pdb
src/trunk/G3L.Data/obj/Debug/Refactor/
src/trunk/G3L.Data/obj/G3L.Data.csproj.FileList.txt
src/trunk/G3L.Debug/Log/
src/trunk/G3L.Debug/Log/Log.cs
src/trunk/G3L.Debug/Log/LoggerEventHandler.cs
src/trunk/G3L.Debug/bin/Debug/G3L.Debug.dll
src/trunk/G3L.Debug/bin/Debug/G3L.Debug.pdb
src/trunk/G3L.Debug/obj/Debug/G3L.Debug.dll
src/trunk/G3L.Debug/obj/Debug/G3L.Debug.pdb
src/trunk/G3L.Debug/obj/Debug/Refactor/
src/trunk/G3L.Debug/obj/Debug/Refactor/G3L.Debug.dll
src/trunk/G3L.Debug/obj/G3L.Debug.csproj.FileList.txt
src/trunk/G3L.Framework/bin/Debug/G3L.Framework.dll
src/trunk/G3L.Framework/bin/Debug/G3L.Framework.pdb
src/trunk/G3L.Framework/obj/Debug/G3L.Framework.dll
src/trunk/G3L.Framework/obj/Debug/G3L.Framework.pdb
src/trunk/G3L.Framework/obj/Debug/Refactor/
src/trunk/G3L.Framework/obj/G3L.Framework.csproj.FileList.txt
src/trunk/G3L.Net/bin/Debug/G3L.Net.dll
src/trunk/G3L.Net/bin/Debug/G3L.Net.pdb
src/trunk/G3L.Net/obj/Debug/G3L.Net.dll
src/trunk/G3L.Net/obj/Debug/G3L.Net.pdb
src/trunk/G3L.Net/obj/Debug/Refactor/
src/trunk/G3L.Net/obj/G3L.Net.csproj.FileList.txt
src/trunk/G3L.UnitTests/Log/
src/trunk/G3L.UnitTests/Log/LogWrite.cs
src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.dll
src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.pdb
src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.dll
src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.pdb
src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.dll
src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.pdb
src/trunk/G3L.UnitTests/obj/Debug/Refactor/
src/trunk/G3L.UnitTests/obj/Debug/ResolveAssemblyReference.cache
src/trunk/G3L.UnitTests/obj/G3L.UnitTests.csproj.FileList.txt
src/trunk/G3L.Util/bin/Debug/G3L.Util.dll
src/trunk/G3L.Util/bin/Debug/G3L.Util.pdb
src/trunk/G3L.Util/obj/Debug/G3L.Util.dll
src/trunk/G3L.Util/obj/Debug/G3L.Util.pdb
src/trunk/G3L.Util/obj/Debug/Refactor/
src/trunk/G3L.Util/obj/G3L.Util.csproj.FileList.txt
Removed Paths:
-------------
src/trunk/G3L.Debug/Logger/
src/trunk/G3L.UnitTests/Log/Log.cs
src/trunk/G3L.UnitTests/Logger/
Added: src/trunk/G3L.Core/Collections/Queue.cs
===================================================================
--- src/trunk/G3L.Core/Collections/Queue.cs (rev 0)
+++ src/trunk/G3L.Core/Collections/Queue.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,89 @@
+using System;
+using System.Collections.Generic;
+
+namespace G3L.Core.Collections
+{
+ [Serializable]
+ public class Queue<T> : ICollection<T>, IEnumerable<T>, ICloneable
+ {
+ private int _Head = 0;
+ private int _Count = 0;
+ private int _Capacity;
+ private float _GrowthFactor;
+ private int _ModifiedCount = 0;
+ private T[] _Contents;
+
+ public virtual int Count
+ {
+ get { return this._Count; }
+ }
+
+ public virtual bool IsSynchronized
+ {
+ get { return false; }
+ }
+
+ public virtual object SyncRoot
+ {
+ get { return this; }
+ }
+
+ public virtual void CopyTo(Array destinationArray, int index)
+ {
+ // Array cannot be null
+ if (destinationArray == null)
+ {
+ throw new ArgumentNullException("array");
+ }
+
+ // Check if index is negative
+ if (index < 0)
+ {
+ throw new ArgumentOutOfRangeException("index");
+ }
+
+
+ if (destinationArray.Rank > 1 || (index != 0 && index >= destinationArray.Length) || this._Count > destinationArray.Length - index)
+ {
+ throw new ArgumentException();
+ }
+
+ int lengthFromHead = this._Contents.Length - this._Head;
+
+ // Copy the contents
+ Array.Copy(this._Contents, this._Head, destinationArray, index, Math.Min(this._Count, lengthFromHead));
+
+ if (this._Count > lengthFromHead)
+ {
+ Array.Copy(this._Contents, 0, destinationArray, index + lengthFromHead, this._Count - lengthFromHead);
+ }
+ }
+
+ public virtual void Clear()
+ {
+ this._ModifiedCount++;
+ this._Head = 0;
+ this._Count = 0;
+
+ for (int i = this._Contents.Length - 1; i >= 0; i--)
+ {
+ this._Contents[i] = null;
+ }
+ }
+
+ /// <summary>
+ /// Used to Grow the collection contents
+ /// </summary>
+ private void Grow()
+ {
+ int newCapacity = (int) Math.Ceiling(this._Contents.Length * this._GrowthFactor);
+ T[] newContents = new T[newCapacity];
+
+ this.CopyTo(newContents, 0);
+
+ this._Contents = newContents;
+ this._Capacity = newCapacity;
+ this._Head = 0;
+ }
+ }
+}
Modified: src/trunk/G3L.Core/G3L.Core.csproj
===================================================================
--- src/trunk/G3L.Core/G3L.Core.csproj 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.Core/G3L.Core.csproj 2007-02-03 23:48:14 UTC (rev 44)
@@ -33,6 +33,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="Collections\Queue.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Added: src/trunk/G3L.Core/bin/Debug/G3L.Core.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Core/bin/Debug/G3L.Core.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Core/bin/Debug/G3L.Core.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Core/bin/Debug/G3L.Core.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Core/obj/Debug/G3L.Core.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Core/obj/Debug/G3L.Core.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Core/obj/Debug/G3L.Core.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Core/obj/Debug/G3L.Core.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Core/obj/G3L.Core.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Core/obj/G3L.Core.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Core/obj/G3L.Core.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+bin\Debug\G3L.Core.dll
+bin\Debug\G3L.Core.pdb
+obj\Debug\ResolveAssemblyReference.cache
+obj\Debug\G3L.Core.dll
+obj\Debug\G3L.Core.pdb
Added: src/trunk/G3L.Data/bin/Debug/G3L.Data.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Data/bin/Debug/G3L.Data.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Data/bin/Debug/G3L.Data.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Data/bin/Debug/G3L.Data.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Data/obj/Debug/G3L.Data.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Data/obj/Debug/G3L.Data.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Data/obj/Debug/G3L.Data.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Data/obj/Debug/G3L.Data.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Data/obj/G3L.Data.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Data/obj/G3L.Data.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Data/obj/G3L.Data.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+bin\Debug\G3L.Data.dll
+bin\Debug\G3L.Data.pdb
+obj\Debug\ResolveAssemblyReference.cache
+obj\Debug\G3L.Data.dll
+obj\Debug\G3L.Data.pdb
Modified: src/trunk/G3L.Debug/G3L.Debug.csproj
===================================================================
--- src/trunk/G3L.Debug/G3L.Debug.csproj 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.Debug/G3L.Debug.csproj 2007-02-03 23:48:14 UTC (rev 44)
@@ -33,8 +33,10 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Logger\Logger.cs" />
- <Compile Include="Logger\LogMessage.cs" />
+ <Compile Include="Log\Log.cs" />
+ <Compile Include="Log\Logger.cs" />
+ <Compile Include="Log\LoggerEventHandler.cs" />
+ <Compile Include="Log\LogMessage.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Copied: src/trunk/G3L.Debug/Log (from rev 43, src/trunk/G3L.Debug/Logger)
Added: src/trunk/G3L.Debug/Log/Log.cs
===================================================================
--- src/trunk/G3L.Debug/Log/Log.cs (rev 0)
+++ src/trunk/G3L.Debug/Log/Log.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace G3L.Debug.Log
+{
+ public class Log
+ {
+ private Profile _Profile;
+ private string _FilePath;
+
+ public Profile Profile
+ {
+ get { return this._Profile; }
+ set { this._Profile = value; }
+ }
+
+ public string FilePath
+ {
+ get { return this._FilePath; }
+ set { this._FilePath = value; }
+ }
+
+ public Log()
+ {
+
+ }
+
+ public Log(Profile profile, string filePath)
+ {
+ this.Profile = profile;
+ this.FilePath = filePath;
+ }
+ }
+}
Modified: src/trunk/G3L.Debug/Log/LogMessage.cs
===================================================================
--- src/trunk/G3L.Debug/Logger/LogMessage.cs 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.Debug/Log/LogMessage.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
-namespace G3L.Debug.Logger
+namespace G3L.Debug.Log
{
public enum Level
{
@@ -19,12 +19,21 @@
Application // application logging profile (mainly used for user consumption)
}
- public struct LogMessage
+ public struct EventMessage
{
public Level Level;
public Profile Profile;
public string Tag;
public string Message;
public DateTime Time;
+
+ public EventMessage(Level level, Profile profile, string tag, string message)
+ {
+ this.Level = level;
+ this.Profile = profile;
+ this.Tag = tag;
+ this.Message = message;
+ this.Time = DateTime.Now;
+ }
}
}
Modified: src/trunk/G3L.Debug/Log/Logger.cs
===================================================================
--- src/trunk/G3L.Debug/Logger/Logger.cs 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.Debug/Log/Logger.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -2,23 +2,32 @@
using System.Collections.Generic;
using System.Text;
-namespace G3L.Debug.Logger
+namespace G3L.Debug.Log
{
- public class Logger
+ public class Logger : IDisposable
{
+ private List<Log> _Loggers;
+
public Logger()
{
+ this._Loggers = new List<Log>();
+ }
+ public void AddLogger(Profile profile, string filePath)
+ {
+ // TODO:
+ this._Loggers.Add(new Log(profile, filePath));
}
- public void Init()
+ public void Write(EventMessage message)
{
-
+ // log message
}
- public void Log(LogMessage message)
+ public void Dispose()
{
-
+ this._Loggers.Clear();
+ this._Loggers = null;
}
}
}
Added: src/trunk/G3L.Debug/Log/LoggerEventHandler.cs
===================================================================
--- src/trunk/G3L.Debug/Log/LoggerEventHandler.cs (rev 0)
+++ src/trunk/G3L.Debug/Log/LoggerEventHandler.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Threading;
+
+namespace G3L.Debug.Log
+{
+ /// <summary>
+ /// Abstract class for managing and dispatching log messages to the appropriate source.
+ /// Different logging types would implement this class, allowing different forms of
+ /// storage for logs.
+ /// </summary>
+ public abstract class LoggerEventHandler
+ {
+ private bool _Alive = false;
+ private Thread _Dispatcher;
+
+ public LoggerEventHandler()
+ {
+
+ }
+
+ public void Start()
+ {
+ // Theres no need to start again
+ if (this._Alive) return;
+
+ this._Alive = true;
+ this._Dispatcher = new Thread(new ThreadStart());
+ this._Dispatcher.Start();
+ }
+
+ protected void DispatchMessages()
+ {
+ while (this._Alive)
+ {
+ // dispatch messages on to thread
+ }
+ }
+ }
+}
Added: src/trunk/G3L.Debug/bin/Debug/G3L.Debug.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Debug/bin/Debug/G3L.Debug.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Debug/bin/Debug/G3L.Debug.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Debug/bin/Debug/G3L.Debug.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Debug/obj/Debug/G3L.Debug.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Debug/obj/Debug/G3L.Debug.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Debug/obj/Debug/G3L.Debug.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Debug/obj/Debug/G3L.Debug.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Debug/obj/Debug/Refactor/G3L.Debug.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Debug/obj/Debug/Refactor/G3L.Debug.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Debug/obj/G3L.Debug.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Debug/obj/G3L.Debug.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Debug/obj/G3L.Debug.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+obj\Debug\ResolveAssemblyReference.cache
+bin\Debug\G3L.Debug.dll
+bin\Debug\G3L.Debug.pdb
+obj\Debug\G3L.Debug.dll
+obj\Debug\G3L.Debug.pdb
Added: src/trunk/G3L.Framework/bin/Debug/G3L.Framework.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Framework/bin/Debug/G3L.Framework.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Framework/bin/Debug/G3L.Framework.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Framework/bin/Debug/G3L.Framework.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Framework/obj/Debug/G3L.Framework.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Framework/obj/Debug/G3L.Framework.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Framework/obj/Debug/G3L.Framework.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Framework/obj/Debug/G3L.Framework.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Framework/obj/G3L.Framework.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Framework/obj/G3L.Framework.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Framework/obj/G3L.Framework.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+bin\Debug\G3L.Framework.dll
+bin\Debug\G3L.Framework.pdb
+obj\Debug\ResolveAssemblyReference.cache
+obj\Debug\G3L.Framework.dll
+obj\Debug\G3L.Framework.pdb
Added: src/trunk/G3L.Net/bin/Debug/G3L.Net.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Net/bin/Debug/G3L.Net.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Net/bin/Debug/G3L.Net.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Net/bin/Debug/G3L.Net.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Net/obj/Debug/G3L.Net.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Net/obj/Debug/G3L.Net.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Net/obj/Debug/G3L.Net.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Net/obj/Debug/G3L.Net.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Net/obj/G3L.Net.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Net/obj/G3L.Net.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Net/obj/G3L.Net.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+bin\Debug\G3L.Net.dll
+bin\Debug\G3L.Net.pdb
+obj\Debug\ResolveAssemblyReference.cache
+obj\Debug\G3L.Net.dll
+obj\Debug\G3L.Net.pdb
Modified: src/trunk/G3L.UnitTests/G3L.UnitTests.csproj
===================================================================
--- src/trunk/G3L.UnitTests/G3L.UnitTests.csproj 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.UnitTests/G3L.UnitTests.csproj 2007-02-03 23:48:14 UTC (rev 44)
@@ -28,12 +28,13 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="csUnit, Version=2.1.1.6855, Culture=neutral, PublicKeyToken=6871f04765cca910, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Logger\Log.cs" />
+ <Compile Include="Log\LogWrite.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
Copied: src/trunk/G3L.UnitTests/Log (from rev 43, src/trunk/G3L.UnitTests/Logger)
Deleted: src/trunk/G3L.UnitTests/Log/Log.cs
===================================================================
--- src/trunk/G3L.UnitTests/Logger/Log.cs 2007-02-03 19:35:53 UTC (rev 43)
+++ src/trunk/G3L.UnitTests/Log/Log.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using G3L.Debug.Logger;
-
-namespace G3L.UnitTests.Logger
-{
- public class Log
- {
- [STAThread]
- static void Main(string[] args)
- {
- Log logger = new Log();
-
- for (int i = 0; i < 100; i++)
- {
- for (int j = 0; j < 100; j++)
- {
- // write log message
- }
- }
-
- Console.WriteLine("Finished Writing Logs at {0}", DateTime.Now.ToString());
- }
- }
-}
Added: src/trunk/G3L.UnitTests/Log/LogWrite.cs
===================================================================
--- src/trunk/G3L.UnitTests/Log/LogWrite.cs (rev 0)
+++ src/trunk/G3L.UnitTests/Log/LogWrite.cs 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+using G3L.Debug.Log;
+
+namespace G3L.UnitTests.Log
+{
+ public class LogWrite
+ {
+ [STAThread]
+ static void Main(string[] args)
+ {
+ using (Logger logger = new Logger())
+ {
+
+ for (int i = 0; i < 100; i++)
+ {
+ for (int j = 0; j < 100; j++)
+ {
+ logger.Write(new EventMessage(Level.Infomation, Profile.Debug, "", "Log Message #" + j + "/" + i));
+ }
+ }
+
+ Console.WriteLine("Finished Writing Logs at {0}", DateTime.Now.ToString());
+ }
+ }
+ }
+}
Added: src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/bin/Debug/G3L.Debug.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/bin/Debug/G3L.UnitTests.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/obj/Debug/G3L.UnitTests.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/obj/Debug/ResolveAssemblyReference.cache
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.UnitTests/obj/Debug/ResolveAssemblyReference.cache
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.UnitTests/obj/G3L.UnitTests.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.UnitTests/obj/G3L.UnitTests.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.UnitTests/obj/G3L.UnitTests.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,7 @@
+obj\Debug\ResolveAssemblyReference.cache
+bin\Debug\G3L.UnitTests.dll
+bin\Debug\G3L.UnitTests.pdb
+bin\Debug\G3L.Debug.dll
+bin\Debug\G3L.Debug.pdb
+obj\Debug\G3L.UnitTests.dll
+obj\Debug\G3L.UnitTests.pdb
Added: src/trunk/G3L.Util/bin/Debug/G3L.Util.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Util/bin/Debug/G3L.Util.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Util/bin/Debug/G3L.Util.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Util/bin/Debug/G3L.Util.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Util/obj/Debug/G3L.Util.dll
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Util/obj/Debug/G3L.Util.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Util/obj/Debug/G3L.Util.pdb
===================================================================
(Binary files differ)
Property changes on: src/trunk/G3L.Util/obj/Debug/G3L.Util.pdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: src/trunk/G3L.Util/obj/G3L.Util.csproj.FileList.txt
===================================================================
--- src/trunk/G3L.Util/obj/G3L.Util.csproj.FileList.txt (rev 0)
+++ src/trunk/G3L.Util/obj/G3L.Util.csproj.FileList.txt 2007-02-03 23:48:14 UTC (rev 44)
@@ -0,0 +1,5 @@
+bin\Debug\G3L.Util.dll
+bin\Debug\G3L.Util.pdb
+obj\Debug\ResolveAssemblyReference.cache
+obj\Debug\G3L.Util.dll
+obj\Debug\G3L.Util.pdb
Modified: src/trunk/G3L.suo
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|