public async Task <LogLevels> GetRootLogLevelAsync() { var response = await GetLogsUrl("/logger/rootLogger") .GetAsync() .ConfigureAwait(false); return(await HandleResponseAsync <LogLevels>(response, s => BitbucketHelpers.StringToLogLevel(JsonConvert.DeserializeObject <dynamic>(s).logLevel.ToString())) .ConfigureAwait(false)); }