struct

Chronicle::Config

Inherits Struct < Value < Object

Strongly typed application runtime configuration

Constructors

new(environment : String = ENV.fetch("APP_ENV", "development"), log_level : String = ENV.fetch("LOG_LEVEL", "INFO"), verbose : Bool = false, db_uri : String = ENV.fetch("CHRONICLE_DB_URI", "sqlite3://#{Storage::Database.default_db_path}"), socket_path : String = ENV.fetch("CHRONICLE_SOCKET_PATH", Server::SocketServer.default_socket_path))
Source

Instance methods

db_uri
Source
environment
Source
log_level
Source
socket_path
Source
verbose?
Source