CachingFormatBlock

scribe.format.CachingFormatBlock

Adds time-based caching of output to reduce LogOutput cost

Attributes

Graph
Supertypes
trait FormatBlock
class Object
trait Matchable
class Any
Known subtypes
object ISO8601.type
object Standard.type

Members list

Value members

Abstract methods

protected def cacheLength: Long

The amount of time in milliseconds to cache each generation of the LogOutput

The amount of time in milliseconds to cache each generation of the LogOutput

Attributes

protected def formatCached(record: LogRecord): LogOutput

Concrete methods

final override def format(record: LogRecord): LogOutput

Attributes

Definition Classes

Inherited methods

def abbreviate(maxLength: Int, padded: Boolean, separator: Char, removeEntries: Boolean, abbreviateName: Boolean): FormatBlock

Attributes

Inherited from:
FormatBlock

Attributes

Inherited from:
FormatBlock
def mapPlain(f: String => String): FormatBlock

Attributes

Inherited from:
FormatBlock
def padRight(length: Int, padding: Char): FormatBlock

Attributes

Inherited from:
FormatBlock