Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to use / customize eclipse logger
How to use / customize eclipse logger [message #332290] Fri, 17 October 2008 04:50 Go to next message
Eclipse UserFriend
Hello,

How can I use the Eclipse 3.4 default logger in my plugins?
And is it possible to configure the logger? In my case I want the logger
to log to another directory.

Jan
Re: How to use / customize eclipse logger [message #332338 is a reply to message #332290] Mon, 20 October 2008 04:30 Go to previous messageGo to next message
Eclipse UserFriend
anybody??
Re: How to use / customize eclipse logger [message #332468 is a reply to message #332290] Tue, 21 October 2008 18:55 Go to previous message
Eclipse UserFriend
To use it, if you currently subclass core runtime Plugin you can use
org.eclipse.core.runtime.Plugin.getLog()

Also check out org.eclipse.ui.statushandlers.StatusManager which can
work with the core runtime log system through the use of status adapters.

You can read up on status handlers in the Help>Help Content>Platform
Plug-in Developer Guide

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:Where is the menu "Generate Bindung Content" ?
Next Topic:No Handler error
Goto Forum:
  


Current Time: Thu Mar 13 15:56:51 EDT 2025

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

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

Back to the top