Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Proper way of logging from plugin
Proper way of logging from plugin [message #213575] Fri, 19 March 2004 11:28 Go to next message
Eclipse UserFriend
Hi all,
I generaly use log4j or java logging api,
I don't want to add the log4j jar nor restrict to j1.4
Does eclipse have a defined method for logging (errors and debug)?
Thanks for any help
It's a vast world the eclipse api...
Re: Proper way of logging from plugin [message #213845 is a reply to message #213575] Fri, 19 March 2004 21:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

Plugin.getLog()

Pascal
Miguel Griffa wrote:


> Hi all,
> I generaly use log4j or java logging api,
> I don't want to add the log4j jar nor restrict to j1.4
> Does eclipse have a defined method for logging (errors and debug)?
> Thanks for any help
> It's a vast world the eclipse api...
Re: Proper way of logging from plugin [message #213934 is a reply to message #213575] Sat, 20 March 2004 03:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.planet-wagenknecht.de

Miguel Griffa wrote:
> Does eclipse have a defined method for logging (errors and debug)?

In addition for debugging see the ".options" file.

Cu, Gunnar
Re: Proper way of logging from plugin [message #214864 is a reply to message #213934] Tue, 23 March 2004 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingo.dueppe.gmx.de

Sorry, I'm not very familiar with logging.
So how to log debug information? Could you give any example?

Do I have to use the Plugin.getDefault().getLog().log(IStatus) method?
When yes, how should the status object look like?

Thx
Ingo

Gunnar Wagenknecht wrote:

>Miguel Griffa wrote:
>
>
>>Does eclipse have a defined method for logging (errors and debug)?
>>
>>
>
>In addition for debugging see the ".options" file.
>
>Cu, Gunnar
>
>
>
>
Re: Proper way of logging from plugin [message #216236 is a reply to message #214864] Fri, 26 March 2004 09:24 Go to previous messageGo to next message
Eclipse UserFriend
I did somthing like this

log.log(new Status(IStatus.INFO, JavadocBuilderPlugin.ID, IStatus.OK,
"Total build time "+(end-start)+" ms", null));


Ingo Düppe wrote:
> Sorry, I'm not very familiar with logging.
> So how to log debug information? Could you give any example?
>
> Do I have to use the Plugin.getDefault().getLog().log(IStatus) method?
> When yes, how should the status object look like?
>
> Thx
> Ingo
>
> Gunnar Wagenknecht wrote:
>
>> Miguel Griffa wrote:
>>
>>
>>> Does eclipse have a defined method for logging (errors and debug)?
>>>
>>
>>
>> In addition for debugging see the ".options" file.
>>
>> Cu, Gunnar
>>
>>
>>
>>
general strange problems [message #217576 is a reply to message #213575] Mon, 29 March 2004 14:38 Go to previous message
Eclipse UserFriend
I have been using Eclipse for a couple of months and every-so-often something stops working.

eg I can't get my properties from a project.

Today, the right button stopped giving me a popup menu so I can't even commit changes to a cvs
repository.

I'm using 2.1.2linux-motif.

Any help would be appreciated.
mas
Previous Topic:Programmatically open a HTML file?
Next Topic:Editor tab tooltip placement dula-head monitor
Goto Forum:
  


Current Time: Mon Jun 09 15:45:00 EDT 2025

Powered by FUDForum. Page generated in 0.13126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top