From 36bd8163899030d7f487096deecb3820b3eea863 Mon Sep 17 00:00:00 2001 From: Vladislav Trotsenko Date: Wed, 18 Oct 2023 22:39:06 +0200 Subject: [PATCH] Technical/Update gem documentation (#11) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e33ee2a..d8e5049 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,11 @@ To start working with this gem, you must configure it first as in the example be require 'on_strum/logs' OnStrum::Logs.configure do |config| - # Required parameter. The current application version. - config.application_version = '1.42.0' + # Required parameter. Current service name. + config.service_name = 'My Great Application' - # Required parameter. The current application name. - config.application_name = 'My Great Application' + # Required parameter. Current service version. + config.service_version = '1.42.0' # Optional parameter. The colorized structured log in STDOUT. It could be useful # for debug mode. @@ -186,8 +186,8 @@ For view detailed colorized logs you can use configuration option `detailed_form require 'on_strum/logs' OnStrum::Logs.configure do |config| - config.application_version = '1.42.0' - config.application_name = 'My Great Application' + config.service_name = 'My Great Application' + config.service_version = '1.42.0' config.detailed_formatter = true end