class Cryload::Logger

Overview

Singleton class which handles all the logging

Defined in:

cryload/logger.cr

Class Method Summary

Class Method Detail

def self.csv_document(s : Stats) : String #

def self.json_document(s : Stats) : String #

def self.log_final #

Logs the final stats


def self.log_header(url : String, duration_sec : Int32 | Nil, request_count : Int32 | Nil, connections : Int32, rate_limit : Int32 | Nil, warmup_seconds : Int32 = 0, disable_keepalive : Bool = false) #

Logs the test header


def self.log_progress #

def self.log_warmup(seconds : Int32) #