# frozen_string_literal: true require "dry/logger/global" require "dry/logger/constants" require "dry/logger/clock" require "dry/logger/dispatcher" require "dry/logger/formatters/string" require "dry/logger/formatters/rack" require "dry/logger/formatters/json" require "dry/logger/backends/io" require "dry/logger/backends/file" module Dry # Set up a logger dispatcher # # @example Basic $stdout string logger # logger = Dry.Logger(:my_app) # # logger.info("Hello World!") # # Hello World! # # @example Customized $stdout string logger # logger = Dry.Logger(:my_app, template: "[%][%