LogFormatter

wvlet.log.LogFormatter
See theLogFormatter companion trait

Attributes

Companion
trait
Graph
Supertypes
trait AnsiColor
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object AppLogFormatter extends LogFormatter

log format for command-line user client (without source code location)

log format for command-line user client (without source code location)

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type
object BareFormatter extends LogFormatter

For formatting log as is.

For formatting log as is.

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

Enable source code links in the run/debug console of IntelliJ

Enable source code links in the run/debug console of IntelliJ

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

log format for debugging source code without using ANSI colors

log format for debugging source code without using ANSI colors

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

Simple log formatter that shows only logger name and message

Simple log formatter that shows only logger name and message

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

log format for debugging source code

log format for debugging source code

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type
object TSVLogFormatter extends LogFormatter

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait LogFormatter
class Formatter
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def appendStackTrace(m: String, r: LogRecord, coloring: Boolean): String
def currentThreadName: String
def formatStacktrace(e: Throwable): String
def highlightLog(level: LogLevel, message: String): String
def setStackTraceFilter(filter: String => Boolean): Unit

Set stack trace line filter

Set stack trace line filter

Attributes

def withColor(prefix: String, s: String): String

Concrete fields

val DEFAULT_STACKTRACE_FILTER: String => Boolean

Inherited fields

final val BRIGHT_BLUE: "\u001b[94m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_CYAN: "\u001b[96m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_GREEN: "\u001b[92m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_MAGENTA: "\u001b[95m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_RED: "\u001b[91m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_WHITE: "\u001b[97m"

Attributes

Inherited from:
AnsiColorPalette
final val BRIGHT_YELLOW: "\u001b[93m"

Attributes

Inherited from:
AnsiColorPalette
final val GRAY: "\u001b[90m"

Attributes

Inherited from:
AnsiColorPalette