class App42::Log::Message

Attributes

logTime[RW]
message[RW]
module[RW]
type[RW]

Public Class Methods

new(log) click to toggle source

This is a constructor that takes no parameter

# File lib/log/Log.rb, line 27
def initialize(log)
  log.messageList.push(self);
end

Public Instance Methods

to_s() click to toggle source

Returns the Log Response in JSON format.

@return the response in JSON format.

# File lib/log/Log.rb, line 38
def to_s
  return "Message : #{self.message}" + "type : #{self.type}" + "AppModule : #{self.module}" + "logTime : #{self.logTime}";
end