Writing to the Eclipse Log [message #331041] |
Thu, 21 August 2008 16:39  |
Eclipse User |
|
|
|
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 02:28  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02761 seconds