Save logs to disk.

This commit is contained in:
akwizgran
2018-10-08 11:12:15 +01:00
parent ab682c82a3
commit 61407c3e06
8 changed files with 183 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
package org.briarproject.briar.api.logging;
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.logging.Handler;
@NotNullByDefault
public interface PersistentLogManager {
Handler createLogHandler(File dir) throws IOException;
Collection<String> getPersistedLog(File dir) throws IOException;
}