private static String getLogTypeAsString(final int type) {
        switch(type) {
            case LOG_WARNING:
                return "WARNING";
            case LOG_ERROR:
                return "ERROR";
            case LOG_DEBUG:
                return "DEBUG";
            default:
                return "UNKNOWN";
        }
    }