LogFormatter

Companion:
class
trait AnsiColor
class Object
trait Matchable
class Any

Type members

Classlikes

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

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

For formatting log as is.

For formatting log as is.

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

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

log format for debugging source code without using ANSI colors

log format for debugging source code without using ANSI colors

Simple log formatter that shows only logger name and message

Simple log formatter that shows only logger name and message

log format for debugging source code

log format for debugging source code

Value members

Concrete methods

def appendStackTrace(m: String, r: LogRecord): 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

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

Concrete fields

val DEFAULT_STACKTRACE_FILTER: String => Boolean

Inherited fields

final val BRIGHT_BLUE: "\u001b[94m"
Inherited from:
AnsiColorPalette
final val BRIGHT_CYAN: "\u001b[96m"
Inherited from:
AnsiColorPalette
final val BRIGHT_GREEN: "\u001b[92m"
Inherited from:
AnsiColorPalette
final val BRIGHT_MAGENTA: "\u001b[95m"
Inherited from:
AnsiColorPalette
final val BRIGHT_RED: "\u001b[91m"
Inherited from:
AnsiColorPalette
final val BRIGHT_WHITE: "\u001b[97m"
Inherited from:
AnsiColorPalette
final val BRIGHT_YELLOW: "\u001b[93m"
Inherited from:
AnsiColorPalette
final val GRAY: "\u001b[90m"
Inherited from:
AnsiColorPalette