code: function LogEvent(timestamp, level, messageTemplate, properties, error) {
          this.timestamp = timestamp;
          this.level = level;
          this.messageTemplate = messageTemplate;
          this.properties = properties || {};
          this.error = error || null;
      }
docs: Creates a new log event instance.