Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Log Severity
Log Severity [message #1725545] Fri, 04 March 2016 09:56 Go to next message
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 59
Registered: January 2016
Member

Hello,

I want to log some info to the installers log screen and found the following log levels:


  • Info
  • Warn
  • Error
  • Ok


I can imagine what info to Error means but what is OK and when it is usually used

Thank you


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Re: Log Severity [message #1725551 is a reply to message #1725545] Fri, 04 March 2016 10:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Steffen,

OK is the default. The severity affects the color:

switch (severity)
{
case INFO:
colorID = SWT.COLOR_BLUE;
break;

case WARNING:
colorID = SWT.COLOR_DARK_YELLOW;
break;

case ERROR:
colorID = SWT.COLOR_RED;
break;

default:
colorID = SWT.COLOR_BLACK;
break;

}



On 04.03.2016 10:56, Steffen Holzer wrote:
> Hello,
> I want to log some info to the installers log screen and found the
> following log levels:
>
>
> Info
> Warn
> Error
> Ok
>
>
> I can imagine what info to Error means but what is OK and when it is
> usually used
>
> Thank you


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Log Severity [message #1725552 is a reply to message #1725551] Fri, 04 March 2016 10:23 Go to previous message
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 59
Registered: January 2016
Member

I see,

Thank you Ed for the quick response


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Previous Topic:How to record for customizing the perspective in Eclipse OOMPH
Next Topic:[feature request] Force ResourceCopyTask to overwrite target
Goto Forum:
  


Current Time: Thu Apr 25 19:19:57 GMT 2024

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

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

Back to the top