W3cubDocs

/Crystal

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?)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–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Log/Entry.html