IBusinessLoggerLog Method (IBusinessContext, Int64, Int64, Int64, String, Boolean, Int64) |
[This is preliminary documentation and is subject to change.]
Adds a log entry to a specific object using specified Business Context
Namespace: Netadmin.Management.Common.BusinessLoggingAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid Log(
IBusinessContext context,
long companyId,
long logObjectType,
long objectId,
string message,
bool visibleToServiceProviders = false,
long specificServiceProvider = 0
)
Sub Log (
context As IBusinessContext,
companyId As Long,
logObjectType As Long,
objectId As Long,
message As String,
Optional visibleToServiceProviders As Boolean = false,
Optional specificServiceProvider As Long = 0
)
Parameters
- context
- Type: Netadmin.Core.ContextIBusinessContext
[Missing <param name="context"/> documentation for "M:Netadmin.Management.Common.BusinessLogging.IBusinessLogger.Log(Netadmin.Core.Context.IBusinessContext,System.Int64,System.Int64,System.Int64,System.String,System.Boolean,System.Int64)"]
- companyId
- Type: SystemInt64
The company id - logObjectType
- Type: SystemInt64
The log object type. Not to be confused with object types. From the netadmin.loggbeskr table - objectId
- Type: SystemInt64
The netadmin id on the object for the log - message
- Type: SystemString
The message to log - visibleToServiceProviders (Optional)
- Type: SystemBoolean
True if log should be visible to service providers - specificServiceProvider (Optional)
- Type: SystemInt64
The service provider id. Non-zero if log should only be visible to a specific service provider
See Also