colur
1.0.0
大丈夫、それはそれほどクールではありませんが、色のある様式化されたロガーです!テストやその他のコマンドコンソールアクティビティには、シンプルな様式化されたColur Loggerが必要でした。詩これはノードタルです。
colur(<log-string>, <option>)colur(<log-string>)return >常に様式化されたロガー文字列を返します<log-string> -> String<option> -> Object<option>.color > String<option>.stringCaps > Boolean => true|> and <|を含むキャップを開始および終了します。<option>.endColor > Boolean => truebgBlue.white.boldであるエンドカラーを使用します。end<option>.startColor > Boolean => truebgGreen.white.boldのデフォルトの色でもある開始色を使用します。<option>.consoleType > Stringinfoです。console部品を省略し、モディファイアのようなerrorを含めるだけです。<option>.strReturn > Boolean => trueconsole and just returns the stylized logger string.<option>.error > Boolean => trueconsoleをerrorに設定し、 bgRed.white.boldの色を使用するプリセット