module SlackLogger

Included Modules

Defined in:

slack-logger.cr
slack-logger/color/color.cr

Instance Method Summary

Instance methods inherited from module SlackLogger::Color

black(s) : String black, black_bg(s) : String black_bg, blue(s) : String blue, blue_bg(s) : String blue_bg, cyan(s) : String cyan, cyan_bg(s) : String cyan_bg, dark_gray(s) : String dark_gray, dark_gray_bg(s) : String dark_gray_bg, green(s) : String green, green_bg(s) : String green_bg, light_blue(s) : String light_blue, light_blue_bg(s) : String light_blue_bg, light_cyan(s) : String light_cyan, light_cyan_bg(s) : String light_cyan_bg, light_gray(s) : String light_gray, light_gray_bg(s) : String light_gray_bg, light_green(s) : String light_green, light_green_bg(s) : String light_green_bg, light_magenta(s) : String light_magenta, light_magenta_bg(s) : String light_magenta_bg, light_red(s) : String light_red, light_red_bg(s) : String light_red_bg, light_yellow(s) : String light_yellow, light_yellow_bg(s) : String light_yellow_bg, magenta(s) : String magenta, magenta_bg(s) : String magenta_bg, red(s) : String red, red_bg(s) : String red_bg, white(s) : String white, white_bg(s) : String white_bg, yellow(s) : String yellow, yellow_bg(s) : String yellow_bg

Instance Method Detail

def error(msg : String, post_slack = true) #

[View source]
def ftime : String #

[View source]
def impt(msg : String, post_slack = true) #

[View source]
def info(msg : String, post_slack = false) #

[View source]
def log_out(tag, msg) #

[View source]
def post_slack(msg : String, _slack_webhook_url : String | Nil = @slack_webhook_url) #

[View source]
def post_slack_for_payload(payload : String, _slack_webhook_url : String | Nil) #

[View source]
def set_default_webhook(slack_webhook_url : String | Nil) #

[View source]
def test(msg : String) #

[View source]
def warn(msg : String, post_slack = false) #

[View source]
def without_colors(text) #

[View source]