GlobalLogBacking

sbt.internal.util.GlobalLogBacking
See theGlobalLogBacking companion object
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.

Attributes

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

Members list

Concise view

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.

Attributes

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.

Attributes

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.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product