Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Writing to the Eclipse Log
Writing to the Eclipse Log [message #331041] Thu, 21 August 2008 20:39 Go to next message
Karol Krizka is currently offline Karol KrizkaFriend
Messages: 7
Registered: July 2009
Junior Member
Hello,

How can I write messages to the Eclipse workspace log
(~/workspace/.metadata/.log)? I tried searching around, but I cannot
find any information about it.

Cheers,
Karol Krizka
Re: Writing to the Eclipse Log [message #331051 is a reply to message #331041] Fri, 22 August 2008 04:22 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
activator.getLog().log();

- Prakash

www.eclipse-tips.com


Karol Krizka wrote:
> Hello,
>
> How can I write messages to the Eclipse workspace log
> (~/workspace/.metadata/.log)? I tried searching around, but I cannot
> find any information about it.
>
> Cheers,
> Karol Krizka
Re: Writing to the Eclipse Log [message #331069 is a reply to message #331051] Fri, 22 August 2008 20:12 Go to previous messageGo to next message
Karol Krizka is currently offline Karol KrizkaFriend
Messages: 7
Registered: July 2009
Junior Member
Prakash G.R. wrote:
> activator.getLog().log();
>
My plugin activator does not have function called getLog(). It is
currently extending AbstractUIPlugin, so could that be the problem?

> - Prakash
>
> www.eclipse-tips.com
>
>
> Karol Krizka wrote:
>> Hello,
>>
>> How can I write messages to the Eclipse workspace log
>> (~/workspace/.metadata/.log)? I tried searching around, but I cannot
>> find any information about it.
>>
>> Cheers,
>> Karol Krizka
Re: Writing to the Eclipse Log [message #331073 is a reply to message #331069] Sat, 23 August 2008 06:28 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
getLog() is in Plugin, which is the super class of AbstractUIPlugin.

Its not a static method. I guess you tried Activator.getLog(), try:

Activator activator = Activator.getDefalt();
activator.getLog().log();

- Prakash

www.eclipse-tips.com


Karol Krizka wrote:
> Prakash G.R. wrote:
>> activator.getLog().log();
>>
> My plugin activator does not have function called getLog(). It is
> currently extending AbstractUIPlugin, so could that be the problem?
>
>> - Prakash
>>
>> www.eclipse-tips.com
>>
>>
>> Karol Krizka wrote:
>>> Hello,
>>>
>>> How can I write messages to the Eclipse workspace log
>>> (~/workspace/.metadata/.log)? I tried searching around, but I cannot
>>> find any information about it.
>>>
>>> Cheers,
>>> Karol Krizka
Previous Topic:Error while updating RCP app through Eclipse Update Framework
Next Topic:Trouble with lots of data , Swt Tables and DataBinding
Goto Forum:
  


Current Time: Fri Nov 08 22:59:38 GMT 2024

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

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

Back to the top