ILoggerLog Method (IContext, String, IEnumerableString, NullableInt32, NullableInt32) |
Note: This API is now obsolete.
Writes the log of the level = "log" (usually an information of the events that are started to happen)
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax [ObsoleteAttribute("Use the Info(IContext, string, int?)")]
void Log(
IContext context,
string message,
IEnumerable<string> tags = null,
Nullable<int> surveyId = null,
Nullable<int> targetUserId = null
)
<ObsoleteAttribute("Use the Info(IContext, string, int?)")>
Sub Log (
context As IContext,
message As String,
Optional tags As IEnumerable(Of String) = Nothing,
Optional surveyId As Nullable(Of Integer) = Nothing,
Optional targetUserId As Nullable(Of Integer) = Nothing
)
[ObsoleteAttribute(L"Use the Info(IContext, string, int?)")]
void Log(
IContext^ context,
String^ message,
IEnumerable<String^>^ tags = nullptr,
Nullable<int> surveyId = nullptr,
Nullable<int> targetUserId = nullptr
)
Parameters
- context
- Type: AskiaPortalCmnIContext
Context of execution - message
- Type: SystemString
Message to log - tags (Optional)
- Type: System.Collections.GenericIEnumerableString
Tags related to this log - surveyId (Optional)
- Type: SystemNullableInt32
Id of the survey - targetUserId (Optional)
- Type: SystemNullableInt32
Id of the targeted user
Remarks See Also