Sha256: f2a2678bc7f31d09fa681374a1bc4ab7b97617615d465dd0f37a032e079f5f19

Contents?: true

Size: 420 Bytes

Versions: 6

Compression:

Stored size: 420 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

6 entries across 6 versions & 1 rubygems

Version Path
imperituroard-1.1.23 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.22 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.21 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.20 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.19 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.18 lib/imperituroard/add_functions/logger/any_functions.rb