Class LogManager
- Namespace
- Oqtane.Infrastructure
- Assembly
- Oqtane.Server.dll
public class LogManager : ILogManager
- Inheritance
-
LogManager
- Implements
-
Constructors
LogManager(ILogRepository, ITenantManager, IConfigManager, IUserPermissions, IHttpContextAccessor, IUserRoleRepository, INotificationRepository, ILogger<LogManager>)
public LogManager(ILogRepository logs, ITenantManager tenantManager, IConfigManager config, IUserPermissions userPermissions, IHttpContextAccessor accessor, IUserRoleRepository userRoles, INotificationRepository notifications, ILogger<LogManager> filelogger)
Parameters
logs
ILogRepository
tenantManager
ITenantManager
config
IConfigManager
userPermissions
IUserPermissions
accessor
IHttpContextAccessor
userRoles
IUserRoleRepository
notifications
INotificationRepository
filelogger
ILogger<LogManager>
Methods
Log(Log)
Parameters
log
Log
Log(LogLevel, object, LogFunction, Exception, string, params object[])
public void Log(LogLevel level, object @class, LogFunction function, Exception exception, string message, params object[] args)
Parameters
level
LogLevel
class
object
function
LogFunction
exception
Exception
message
string
args
object[]
Log(LogLevel, object, LogFunction, string, params object[])
public void Log(LogLevel level, object @class, LogFunction function, string message, params object[] args)
Parameters
level
LogLevel
class
object
function
LogFunction
message
string
args
object[]
Log(int, LogLevel, object, LogFunction, Exception, string, params object[])
public void Log(int siteId, LogLevel level, object @class, LogFunction function, Exception exception, string message, params object[] args)
Parameters
siteId
int
level
LogLevel
class
object
function
LogFunction
exception
Exception
message
string
args
object[]
Log(int, LogLevel, object, LogFunction, string, params object[])
public void Log(int siteId, LogLevel level, object @class, LogFunction function, string message, params object[] args)
Parameters
siteId
int
level
LogLevel
class
object
function
LogFunction
message
string
args
object[]