Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [corona-dev] Corona Logging

Marcin is right.

To write logs to eclipse Error log view: log4j appender implementation would contain append method converting LoggingEvent instance and sending it to:

Platform.getLog(bundleName).log(...);

 

 

- writing to the plugin state location

*Is this just about writing to the correct location?  Are there specific format requirements?

 

Platform.getStateLocation(org.osgi.framework.Bundle) gives us the location in the local file system of the plug-in state area for the given bundle:

${workspace}/.metadata/.plugins/${plugin_name}

 

-----Original Message-----
From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Marcin Okraszewski
Sent: 3 sierpnia 2006 10:48
To: Corona development
Subject: Re: [corona-dev] Corona Logging

 

 

> we need e.g.:

>- sending logs to eclipse "Error Log" view

>* Does the Error Log View have a listener interface?

> 

 

It displays everyting is written with Eclipse log. So, it would be

simply log adapter which would write everything to Eclipse log.

 

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

_______________________________________________

corona-dev mailing list

corona-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/corona-dev

 

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Back to the top