/** * Add an entry type to the registry. * * @param type * @param clazz the class implementing {@link Loggable}. */ public static final void addEntryType(byte type, Class clazz) { LogEntry entry = new LogEntry(type, clazz); entryTypes.put(type, entry); }