logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Visual Web Express Edition Sample
Date Tue, 17 Apr 2007 21:55:47 GMT
What have you tried so far?

Module Module1
    Sub Main()
        Dim MyFileAppender As log4net.Appender.FileAppender = New log4net.Appender.FileAppender()
        MyFileAppender.File = "C:\\log.txt"
        MyFileAppender.Layout = New log4net.Layout.SimpleLayout()
        MyFileAppender.ActivateOptions()
        log4net.Config.BasicConfigurator.Configure(MyFileAppender)
        log4net.LogManager.GetLogger("Main").Info("Hello World")
    End Sub
End Module

----- Original Message ----
From: Antonio Jimenez <superantonioxp@gmail.com>
To: log4net-user@logging.apache.org
Sent: Tuesday, April 17, 2007 6:13:46 AM
Subject: Re: Visual Web Express Edition Sample

2007/4/17, Antonio Jimenez <superantonioxp@gmail.com>:
> Hi
>
>
>
> I'm developing using the visual Basic Web Express Edition and I need
> to use log4net. Could you sent me a log4net sample for this vb
> edition?
>
>
>
>
>
> Thanks
>
>
>
> Antonio jimenez
>
>
> --
> Antonio Jimenez
> 677 55 33 35
>
>
> --
> Antonio Jimenez
> 677 55 33 35
>


-- 
Antonio Jimenez
677 55 33 35




Mime
View raw message