/// <summary>
		/// Add log to server
		/// </summary>
		/// <param name="param"></param>
		public void AddLog(LogParameter param)
		{
			var request = new RestRequest("/api/v1/add_log", Method.POST)
			{
				AlwaysMultipartFormData = true
			};
			request.AddHeader("Content-Type", "multipart/form-data");
			if (param.Type.HasValue)
				request.AddParameter("type", LogTypeExt.DisplayName(param.Type.Value)); // adds to POST or URL querystring based on Method
			if (param.UserId != null)
				request.AddParameter("user_id", param.UserId);
			if (param.FilePath != null)
				request.AddFile("image_file", param.FilePath);
			client.Execute(request);
		}
 public void AddLog(LogParameter logParameter)
 {
     if (this.isOnline)
     {
         OniyammaService.Current.AddLog(logParameter);
     }
 }