added profile management

This commit is contained in:
Shaun Walker
2019-10-25 00:03:11 -04:00
parent 15460eafb7
commit f59f6b2f34
12 changed files with 262 additions and 18 deletions

View File

@ -125,7 +125,7 @@ namespace Oqtane.Modules
ModuleInstance.HideProgressIndicator();
}
// logging method
// logging methods
public async Task Log(LogLevel level, Exception exception, string message, params object[] args)
{
int PageId = PageState.Page.PageId;
@ -153,6 +153,10 @@ namespace Oqtane.Modules
function = LogFunction.Read;
break;
}
if (feature == "Login")
{
function = LogFunction.Security;
}
await LoggingService.Log(PageId, ModuleId, UserId, category, feature, function, level, exception, message, args);
}