Skip to content
Snippets Groups Projects
Commit 2ce97b73 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Adjust log level and method docstring.

parent 2b8ff9f0
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ namespace ATxCommon
/// <summary>
/// Get the available physical memory in MB.
/// </summary>
/// <returns>The available physical memory in MB or -1 in case of an error.</returns>
/// <returns>Available physical memory in MB or -1 in case of an error.</returns>
public static long GetFreeMemory() {
try {
var searcher =
......@@ -26,7 +26,7 @@ namespace ATxCommon
}
}
catch (Exception ex) {
Log.Warn("Error in GetFreeMemory: {0}", ex.Message);
Log.Trace("Error in GetFreeMemory: {0}", ex.Message);
}
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment