Sha256: e6d5928ffdc76ef9387121c743bf7bec1b99960f4add9b8b33fce75797698094

Contents?: true

Size: 422 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
imperituroard-1.1.25 lib/imperituroard/add_functions/logger/any_functions.rb
imperituroard-1.1.24 lib/imperituroard/add_functions/logger/any_functions.rb