class
Azu::LogPerformanceReporter
- Azu::LogPerformanceReporter
- Azu::PerformanceReporter
- Reference
- Object
Overview
Concrete implementation for beautiful terminal logging
Defined in:
azu/performance_reporter.crInstance Method Summary
-
#format_report(stats, since : Time | Nil) : String
Abstract method to be implemented by concrete reporters
- #log_daily_report : Nil
- #log_health_check : Nil
- #log_hourly_report : Nil
-
#log_summary(since : Time | Nil = nil) : Nil
Specific methods for log reporter
-
#output(content : String) : Nil
Abstract method for output mechanism
- #unavailable_message : String
Instance methods inherited from class Azu::PerformanceReporter
format_report(stats, since : Time | Nil)
format_report,
generate_report(since : Time | Nil = nil) : String
generate_report,
output(content : String) : Nil
output,
output_report(since : Time | Nil = nil) : Nil
output_report,
unavailable_message : String
unavailable_message
Instance Method Detail
def format_report(stats, since : Time | Nil) : String
#
Description copied from class Azu::PerformanceReporter
Abstract method to be implemented by concrete reporters
def output(content : String) : Nil
#
Description copied from class Azu::PerformanceReporter
Abstract method for output mechanism