struct Log::Entry

Defined in:

log/entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, severity : Severity, message : String, data : Log::Metadata, exception : Exception?, *, timestamp = Time.local)Source

Instance Method Detail

def context : MetadataSource

def data : MetadataSource

def exception : Exception?Source

def message : StringSource

def severity : SeveritySource

def source : StringSource

def timestamp : TimeSource

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Log/Entry.html