@substrate-system/debug
    Preparing search index...

    Function selectColor

    • Selects a color for a debug namespace

      Parameters

      • namespace: string

        The namespace string for the debug instance to be colored

      • colors: string[] | number[]

      Returns string | number

      An ANSI color code for the given namespace