added profile management
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user