module SlackLogger
Included Modules
Defined in:
slack-logger.crslack-logger/color/color.cr
Instance Method Summary
- #error(msg : String, post_slack = true)
- #ftime : String
- #impt(msg : String, post_slack = true)
- #info(msg : String, post_slack = false)
- #log_out(tag, msg)
- #post_slack(msg : String, _slack_webhook_url : String | Nil = @slack_webhook_url)
- #post_slack_for_payload(payload : String, _slack_webhook_url : String | Nil)
- #set_default_webhook(slack_webhook_url : String | Nil)
- #test(msg : String)
- #warn(msg : String, post_slack = false)
- #without_colors(text)
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 post_slack(msg : String, _slack_webhook_url : String | Nil = @slack_webhook_url)
#