My guess was that ClassSubClass, SubClass2 is the most common way to
display a generic class. Anyway. The problem is not the [] instead of
, but the Version, Culture, and PublicKeyToken.
typeof(MyGenericClassMyClass, TestClass).ToString()
result:
+1
Best Regards
*Morten Andersen*
Developer
Vianett AS http://www.vianett.no/ | [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] | Office: +47 69 20 69 74
callto://+4769206974 | Skype: mortander callto://mortander
Niall Daley wrote:
+1
On Thu, 30 Mar 2006, Nicko Cadell wrote:
All,
I have
Hi
Is it possible to change this to virtual? Please?
--
Best Regards
*Morten Andersen*
Developer
Vianett AS http://www.vianett.no/ | [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] | Office: +47 69 20 69 74
callto://+4769206974 | Skype: mortander callto://mortander
+1
Best Regards
Morten Andersen
Developer
Vianett AS | [EMAIL PROTECTED] | Office: +47 69 20 69 74 | Skype: mortander
Niall Daley wrote:
+1
Andersen [EMAIL PROTECTED] wrote:
Hi!
log.DebugFormat("Hello {0}! Where is {1}?, "Morten");
I know that I am missing an argument. The problem here is that some of
my applications went down because of this.
--
Best Regards
Morten And
log.DebugFormat(Hello {0}! Where is {1}?, Morten);
109 [10] DEBUG WindowsApplication1.Program (null) - Hello {0}! Where is {1}?
arg0: Morten
LogImpl.cs
virtual public void DebugFormat(string format, params object[]
args)
{
if (IsDebugEnabled)
{
Hi!
log.DebugFormat("Hello {0}! Where is {1}?, "Morten");
I know that I am missing an argument. The problem here is that some of
my applications went down because of this.
--
Best Regards
Morten Andersen
Developer
Vianett AS | [EMAIL PROTECTED] | Office: +47 69 20 69 74 | Skype: mortander
{ log(string.Format(input, args)); }
catch { }
}
}
Best Regards
Morten Andersen
Developer
Vianett AS | [EMAIL PROTECTED] | Office: +47 69 20 69 74 | Skype: mortander
Ron Grabowski wrote:
Log4net doesn't have its own run-time parsing engine for the *Format
methods; it just calls through
+1
Best Regards
Morten Andersen
Developer
Vianett AS | [EMAIL PROTECTED] | Office: +47 69 20 69 74 | Skype: mortander
Niall Daley wrote:
+1
name) +132
log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) +30
log4net.LogManager.GetLogger(String name) +34
--
Best Regards
*Morten Andersen*
Developer
Vianett AS http://www.vianett.no/ | [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] | Office: +47 69 20 69 74
Create a solution with a windows application, and a class library. Add a
project reference to to the class library, and a reference to the
log4net.dll
If you run the application now, you should see something like
2006-01-28 15:18:04,556 [3028] INFO BugApplication.MyClass [(null)] -
Hello
11 matches
Mail list logo