Logger.Log Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Log(TraceEventType, Int32, Int32, String, Object[]) | |
| Log(TraceEventType, Int32, Object, Int32, String, Object[]) |
Log(TraceEventType, Int32, Int32, String, Object[])
public:
static void Log(System::Diagnostics::TraceEventType type, int level, int id, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public static void Log (System.Diagnostics.TraceEventType type, int level, int id, string message, params object[] args);
static member Log : System.Diagnostics.TraceEventType * int * int * string * obj[] -> unit
Public Shared Sub Log (type As TraceEventType, level As Integer, id As Integer, message As String, ParamArray args As Object())
Parameters
- type
- TraceEventType
- level
- Int32
- id
- Int32
- message
- String
- args
- Object[]
Applies to
Log(TraceEventType, Int32, Object, Int32, String, Object[])
public:
static void Log(System::Diagnostics::TraceEventType type, int level, System::Object ^ tracePoint, int id, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public static void Log (System.Diagnostics.TraceEventType type, int level, object tracePoint, int id, string message, params object[] args);
static member Log : System.Diagnostics.TraceEventType * int * obj * int * string * obj[] -> unit
Public Shared Sub Log (type As TraceEventType, level As Integer, tracePoint As Object, id As Integer, message As String, ParamArray args As Object())
Parameters
- type
- TraceEventType
- level
- Int32
- tracePoint
- Object
- id
- Int32
- message
- String
- args
- Object[]