org.grinvin.logging

Class Logging


public final class Logging
extends java.lang.Object

Installs the main log handler for the application.

Method Summary

static JDialog
getLoggingWindow()
The main logging window of this application, or null when the logging handler was not yet initialized.
static void
installHandler(String windowTitle)
Initializes the logging handler for this application if this was not already done before.

Method Details

getLoggingWindow

public static JDialog getLoggingWindow()
The main logging window of this application, or null when the logging handler was not yet initialized.

installHandler

public static void installHandler(String windowTitle)
Initializes the logging handler for this application if this was not already done before.
Parameters:
windowTitle - Title to be used for the logging window.