Sha256: 71296992f1c9e37c1bda0d448c3341ff0a39fc70b0a1dd532293a13cd611f158

Contents?: true

Size: 422 Bytes

Versions: 7

Compression:

Stored size: 422 Bytes

Contents

require 'net/http'
require 'net/https'
require 'json'
require 'date'


class LogAddFunctions_2


  def datetimenow()
    d_curr = DateTime.now
    time_zone = 'Europe/Minsk'
    DateTime.now.to_s
  end

  def printer_texter(text, log_level)
    if log_level == debug
      mess = {:datetime => datetimenow, :sdk => "imperituroard", :sdk_version => Imperituroard::VERSION, :message => text}
      p mess
    end
  end


end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imperituroard-1.1.17 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.15 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.14 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.13 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.12 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.11 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.10 lib/imperituroard/add_functions/logger/any_functions.rb