class Mint::Logger::Log

Defined in:

logger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String) #

[View source]

Instance Method Detail

def elapsed : Time::Span #

The elapsed time of the log.


[View source]
def elapsed=(elapsed : Time::Span) #

The elapsed time of the log.


[View source]
def logs : Array(Mint::Logger::Log) #

The child logs.


[View source]
def message : String #

The mssage.


[View source]
def print : Array(Tuple(String, Time::Span)) #

Processes the logs for printing.


[View source]
def real : Time::Span #

The real time of the log.


[View source]