module

PlaceOS

Constants

LOG_FORMAT = ENV["PLACE_LOG_FORMAT"]?.presence.try do |format| ::PlaceOS::LogBackend::Format.parse(format) end || ::PlaceOS::LogBackend::Format::Line
UDP_LOG_HOST = self.env_with_deprecation("UDP_LOG_HOST", "LOGSTASH_HOST")
UDP_LOG_PORT = (self.env_with_deprecation("UDP_LOG_PORT", "LOGSTASH_PORT")).try(&.to_i?)

Nested types