GlobalLogBacking

final case class GlobalLogBacking(file: File, last: Option[File], newBackingFile: () => File)

Tracks the files that persist the global logging. file is the current backing file. last is the previous backing file, if there is one. newBackingFile creates a new temporary location for the next backing file.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def shift(newFile: File): GlobalLogBacking

Shifts the current backing file to last and sets the current backing to newFile.

Shifts the current backing file to last and sets the current backing to newFile.

Shifts the current backing file to last and sets the current backing to a new temporary file generated by newBackingFile.

Shifts the current backing file to last and sets the current backing to a new temporary file generated by newBackingFile.

If there is a previous backing file in last, that becomes the current backing file and the previous backing is cleared. Otherwise, no changes are made.

If there is a previous backing file in last, that becomes the current backing file and the previous backing is cleared. Otherwise, no changes are made.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product