From 76bcf43788d6372dcefff23ad317237b2f07ad92 Mon Sep 17 00:00:00 2001 From: pvincent Date: Mon, 8 Jan 2024 13:34:43 +0400 Subject: [PATCH] logger object --- app/controllers/scores_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/scores_controller.rb b/app/controllers/scores_controller.rb index 704b5c5..2068852 100644 --- a/app/controllers/scores_controller.rb +++ b/app/controllers/scores_controller.rb @@ -5,7 +5,7 @@ class ScoresController < ApplicationController # GET /scores def index @scores = Score.all - logger.info 'this is an information' + logger.info 'this is an information', { 'one': 1, 'two': 2 } logger.warn 'this is a warning' logger.error 'this is an error' logger.debug 'this is a debug message'