Commit de0787db authored by Lubomir Bulej's avatar Lubomir Bulej

Rename prefixes to reflect their intent

parent a43122d6
......@@ -15,13 +15,13 @@ public final class Logging {
* Package name of the framework entry class.
*/
private static final String
__OLD_PREFIX__ = SHVM.class.getPackage ().getName ();
__BASE_PREFIX__ = SHVM.class.getPackage ().getName ();
/**
* Default prefix for top-level logs.
*/
private static final String
__NEW_PREFIX__ = "shvm";
__SHORT_PREFIX__ = "shvm";
/**
* Register provider property alias with the logging class.
......@@ -33,12 +33,6 @@ public final class Logging {
//
private Logging () {
// pure static class - not to be instantiated
}
//
public static Logger getPackageInstance () {
//
// Determine the package this method was called from and strip common
......@@ -48,8 +42,14 @@ public final class Logging {
Thread.currentThread ().getStackTrace () [2];
return Logger.getPackageInstance (
caller, __OLD_PREFIX__, __NEW_PREFIX__
caller, __BASE_PREFIX__, __SHORT_PREFIX__
);
}
//
private Logging () {
// Not to be instantiated.
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment