Esempio n. 1
0
        public async Task <bool> SetRootLogLevelAsync(LogLevels logLevel)
        {
            var response = await GetLogsUrl($"/logger/rootLogger/{BitbucketHelpers.LogLevelToString(logLevel)}")
                           .PutAsync(new StringContent(""))
                           .ConfigureAwait(false);

            return(await HandleResponseAsync(response).ConfigureAwait(false));
        }