|
@ -5,7 +5,7 @@ class ScoresController < ApplicationController |
|
|
# GET /scores |
|
|
# GET /scores |
|
|
def index |
|
|
def index |
|
|
@scores = Score.all |
|
|
@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.warn 'this is a warning' |
|
|
logger.error 'this is an error' |
|
|
logger.error 'this is an error' |
|
|
logger.debug 'this is a debug message' |
|
|
logger.debug 'this is a debug message' |
|
|