C# 如何在C中获取google应用程序引擎日志?
我正在尝试检索应用程序引擎日志。我得到的唯一结果是next_offset=None,下面是我的代码:C# 如何在C中获取google应用程序引擎日志?,c#,google-app-engine,C#,Google App Engine,我正在尝试检索应用程序引擎日志。我得到的唯一结果是next_offset=None,下面是我的代码: internal string GetLogs() { string result = _connection.Get("/api/request_logs", GetPostParameters(null)); return result; } private Dictionary<string, string> G
internal string GetLogs()
{
string result = _connection.Get("/api/request_logs", GetPostParameters(null));
return result;
}
private Dictionary<string, string> GetPostParameters(Dictionary<string, string> customParameters)
{
Dictionary<string, string> parameters = new Dictionary<string, string>() {
{ "app_id", _settings.AppId },
{ "version", _settings.Version.ToString() }
};
if (customParameters != null)
{
foreach (string key in customParameters.Keys)
{
if (parameters.ContainsKey(key))
{
parameters[key] = customParameters[key];
}
else
{
parameters.Add(key, customParameters[key]);
}
}
}
return parameters;
}
此方法要求版本参数为版本。1