[MonoDevelop] Logging

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Jun 27 16:32:30 EDT 2005


Yes, I know it is. I was more wanting to know what kind of logging
concept people thought were right for MD. Should we drop the
LoggingService class and have a Logger instance in places that need to
do logging or should the LoggingService force users to provide some
type name as a parameter (i.e. we remove the simple log method).

/Jacob

On 6/27/05, Christian Hergert <christian.hergert at gmail.com> wrote:
> you should subscrive to the commit list. its in svn already.
> 
> ~ chris
> 
> On 6/27/05, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> > Anyone?
> >
> > /Jacob
> >
> > On 6/17/05, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> > > Well, if people agree that we should drop the LoggingService class and
> > > have a Logger instance where it is needed locally, I can have a look
> > > at fixing this. Comments?
> > >
> > > /Jacob
> > >
> > > On 6/16/05, Christian Hergert <christian.hergert at gmail.com> wrote:
> > > > I actually prefer the last option you specified, but that requires
> > > > some time and work to get all the addins and core to use log4net
> > > > dirrectly.
> > > >
> > > > ~ chris
> > > >
> > > > On 6/16/05, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> > > > > Ok, that sounds good. Should we not remove the old type less methods.
> > > > > If they are still available people will just use those, won't they? Or
> > > > > maybe remove the service all together and just have a Logger in those
> > > > > classes that need it?
> > > > >
> > > > > /Jacob
> > > > >
> > > > > On 6/16/05, Christian Hergert <christian.hergert at gmail.com> wrote:
> > > > > > That was going to be fixed, but just never happened. What we will do
> > > > > > is add another set of methods to allow passing a System.Type. I put
> > > > > > this patch together now in fact.
> > > > > >
> > > > > > ~ chris
> > > > > >
> > > > > > On 6/16/05, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> > > > > > > Hi.
> > > > > > >
> > > > > > > I looked a bit at the logging concept in MonoDevelop. I can see it is
> > > > > > > nice to have a logging service which forwards the logging to log4net.
> > > > > > > But... using log4net this way we lose the important piece of
> > > > > > > information about what part of the code actually logged the message.
> > > > > > > Right now the same Logger is used with a typeof(ILoggingService). So
> > > > > > > all messages seem to come from ILoggingService. This also has the
> > > > > > > effect that we cannot configure filtering on the logging. Do we really
> > > > > > > want this?
> > > > > > >
> > > > > > > /Jacob
> > > > > > > _______________________________________________
> > > > > > > Monodevelop-list mailing list
> > > > > > > Monodevelop-list at lists.ximian.com
> > > > > > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Christian Hergert
> > > > > > Mosaix Communications, Inc.
> > > > > > Software Engineer
> > > > > > C: 253 906 2115
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Christian Hergert
> > > > Mosaix Communications, Inc.
> > > > Software Engineer
> > > > C: 253 906 2115
> > > >
> > >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> 
> 
> --
> Christian Hergert
> Medsphere Systems Corporation
> Software Programmer
> C: 253 906 2115
>


More information about the Monodevelop-list mailing list