terminal/logcore/themedefaults

    Dark Mode
Search:
Group by:

Types

Severity = enum
  lsDebug, lsInfo, lsWarning, lsError, lsCritical, lsUser
Components = enum
  lcFileInfo, lcSource, lcTimestamp, lcSeverity, lcThread, lcMessage
TraceInfo = object
  sCFunctionName*, sNimProcName*: string
  module*: string
  lineno*: int
  columnno*: int
ElementStyle = object
  fg*: ForegroundColor
  bg*: BackgroundColor
  style*: Style
  sFormat*: string
  iSpacing*: int
ThemeElement = object
  name*: string
  fileinfo*: ElementStyle
  source*: ElementStyle
  timestamp*: ElementStyle
  severity*: ElementStyle
  thread*: ElementStyle
  message*: ElementStyle
  bUseStdErr*: bool
  bUseShortTimestamp*: bool
  bFileInfoIncludeColumnNumber*: bool
  bSourceUseCFunctionName*: bool
  order*: seq[Components]
Theme = object
  style*: Table[int, ThemeElement]
  sourceSize*: int

Consts

DEFAULT_THEME = (style: (data: [(0, 0, (name: "", fileinfo: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), source: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), timestamp: (fg: 0, bg: 0, style: 0, sFormat: "",
    iSpacing: 0), severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0), thread: (
    fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0), message: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), bUseStdErr: false,
                                        bUseShortTimestamp: false,
                                        bFileInfoIncludeColumnNumber: false,
                                        bSourceUseCFunctionName: false,
                                        order: [])), (-8667131158406858863, 3, (
    name: "Error", fileinfo: (fg: fgBlue, bg: bgBlack, style: styleDim,
                              sFormat: "[$#]", iSpacing: 1), source: (
    fg: fgMagenta, bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgRed, bg: bgBlack, style: styleBright, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: true,
    bUseShortTimestamp: true, bFileInfoIncludeColumnNumber: false,
    bSourceUseCFunctionName: false,
    order: [lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage])), (0, 0, (
    name: "", fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    bUseStdErr: false, bUseShortTimestamp: false,
    bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
    order: [])), (-5492552493630111101, 4, (name: "CRITICAL", fileinfo: (
    fg: fgBlue, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), source: (
    fg: fgMagenta, bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgWhite, bg: bgRed, style: styleDim, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: true,
    bUseShortTimestamp: true, bFileInfoIncludeColumnNumber: false,
    bSourceUseCFunctionName: false,
    order: [lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage])), (
    6130242188011939732, 2, (name: "Warning", fileinfo: (fg: fgBlue,
    bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), source: (
    fg: fgMagenta, bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgYellow, bg: bgBlack, style: styleBright, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: false,
                             bUseShortTimestamp: true,
                             bFileInfoIncludeColumnNumber: false,
                             bSourceUseCFunctionName: false, order: [
    lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage])), (0, 0, (name: "",
    fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    bUseStdErr: false, bUseShortTimestamp: false,
    bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
    order: [])), (0, 0, (name: "", fileinfo: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), source: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), timestamp: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), severity: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), thread: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), message: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), bUseStdErr: false,
                         bUseShortTimestamp: false,
                         bFileInfoIncludeColumnNumber: false,
                         bSourceUseCFunctionName: false, order: [])), (0, 0, (
    name: "", fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    bUseStdErr: false, bUseShortTimestamp: false,
    bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
    order: [])), (0, 0, (name: "", fileinfo: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), source: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), timestamp: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), severity: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), thread: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), message: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), bUseStdErr: false,
                         bUseShortTimestamp: false,
                         bFileInfoIncludeColumnNumber: false,
                         bSourceUseCFunctionName: false, order: [])), (
    -5940405725068231575, 0, (name: "Debug", fileinfo: (fg: fgBlue, bg: bgBlack,
    style: styleDim, sFormat: "{$#}", iSpacing: 1), source: (fg: fgMagenta,
    bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgGreen, bg: bgBlack, style: styleBright, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: false,
                              bUseShortTimestamp: true,
                              bFileInfoIncludeColumnNumber: false,
                              bSourceUseCFunctionName: false, order: [
    lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage, lcFileInfo])), (0,
    0, (name: "", fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
        bUseStdErr: false, bUseShortTimestamp: false,
        bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
        order: [])), (0, 0, (name: "", fileinfo: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), source: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), timestamp: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), severity: (fg: 0, bg: 0, style: 0,
    sFormat: "", iSpacing: 0), thread: (fg: 0, bg: 0, style: 0, sFormat: "",
                                        iSpacing: 0), message: (fg: 0, bg: 0,
    style: 0, sFormat: "", iSpacing: 0), bUseStdErr: false,
                             bUseShortTimestamp: false,
                             bFileInfoIncludeColumnNumber: false,
                             bSourceUseCFunctionName: false, order: [])), (0, 0, (
    name: "", fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    bUseStdErr: false, bUseShortTimestamp: false,
    bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
    order: [])), (8641844181895329213, 1, (name: "Info", fileinfo: (fg: fgBlue,
    bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), source: (
    fg: fgMagenta, bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgCyan, bg: bgBlack, style: styleBright, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: false,
    bUseShortTimestamp: true, bFileInfoIncludeColumnNumber: false,
    bSourceUseCFunctionName: false,
    order: [lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage])), (
    8231874320669540605, -1, (name: "User", fileinfo: (fg: fgBlue, bg: bgBlack,
    style: styleDim, sFormat: "[$#]", iSpacing: 1), source: (fg: fgMagenta,
    bg: bgBlack, style: styleBright, sFormat: "$#", iSpacing: 1), timestamp: (
    fg: fgWhite, bg: bgBlack, style: styleDim, sFormat: "[$#]", iSpacing: 1), severity: (
    fg: fgMagenta, bg: bgBlack, style: styleBright, sFormat: "$#:", iSpacing: 1), thread: (
    fg: fgCyan, bg: bgBlack, style: styleDim, sFormat: "(thread-$#)",
    iSpacing: 1), message: (fg: fgWhite, bg: bgBlack, style: styleBright,
                            sFormat: "$#", iSpacing: 1), bUseStdErr: false,
                              bUseShortTimestamp: true,
                              bFileInfoIncludeColumnNumber: false,
                              bSourceUseCFunctionName: false, order: [
    lcTimestamp, lcThread, lcSource, lcSeverity, lcMessage])), (0, 0, (name: "",
    fileinfo: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    source: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    timestamp: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    severity: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    thread: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    message: (fg: 0, bg: 0, style: 0, sFormat: "", iSpacing: 0),
    bUseStdErr: false, bUseShortTimestamp: false,
    bFileInfoIncludeColumnNumber: false, bSourceUseCFunctionName: false,
    order: []))], counter: 6), sourceSize: 32)