02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PetrelLogger Class<br />

public static void InfoBox (string message, Exception ex);<br />

public static void WarnBox (string message);<br />

public static void WarnBox (string message, Exception ex);<br />

public static void Debug (string message, Exception ex);<br />

public static void DebugPublic(string message, Exception ex);<br />

public static void InfoOutputWindow(string message);<br />

public static void Status(string message);<br />

public static void ErrorStatus(string message);<br />

public static void SuccessStatus(string message);<br />

public static void WarnStatus(string message);<br />

public static IProgress NewProgress(int minimum, int maximum);<br />

public static IProgress NewProgress(int minimum, int maximum,<br />

ProgressType type,<br />

Cursor cursor);<br />

}<br />

Message Boxes<br />

PetrelLogger supports four types of message boxes including:<br />

• Error – indicates a problem that should terminate processing<br />

• Warning – indicates a problem that the user should be made aware of, but it is not bad<br />

enough to stop processing<br />

• Information – a message to the user that does not indicate a problem but is to inform<br />

the user<br />

• Debug – a message that is only intended for developers of the module and will appear<br />

in the Visual Studio output window<br />

<strong>Schlumberger</strong> Private<br />

Petrel Convenience Classes 5-241

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!