Package jisa.logging
Class Log
- java.lang.Object
-
- jisa.logging.Log
-
-
Constructor Summary
Constructors Constructor Description Log(java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDebug(java.lang.String message)voidaddEntry(java.time.LocalDateTime time, LogEntry.Level level, java.lang.String message)voidaddEntry(LogEntry entry)voidaddEntry(LogEntry.Level level, java.lang.String message)voidaddError(java.lang.String message)voidaddFatal(java.lang.String message)voidaddMessage(java.lang.String message)voidaddWarning(java.lang.String message)voidclose()java.util.Iterator<LogEntry>iterator()
-
-
-
Method Detail
-
addEntry
public void addEntry(LogEntry entry) throws java.io.IOException
- Throws:
java.io.IOException
-
addEntry
public void addEntry(java.time.LocalDateTime time, LogEntry.Level level, java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
addEntry
public void addEntry(LogEntry.Level level, java.lang.String message) throws java.io.IOException
- Throws:
java.io.IOException
-
addMessage
public void addMessage(java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
addDebug
public void addDebug(java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
addWarning
public void addWarning(java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
addError
public void addError(java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
addFatal
public void addFatal(java.lang.String message) throws java.io.IOException- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
-