Ozeki VoIP SDK Class library
Logger Class
NamespacesOzeki.Common.LoggerLogger
Ths class represents logging in the system
Declaration Syntax
C#Visual BasicVisual C++
public static class Logger
Public NotInheritable Class Logger
public ref class Logger abstract sealed
Members
All MembersMethodsProperties



IconMemberDescription
Attach(ILogger)
Provides the possibility of multitarget logging (into file, database etc.)

Close()()()()
Forbids logging

Detach(ILogger)
Detaching a logger

EnterMethod(String, String)
Debug level logging, needs to present at the beginning of a method

EnterMethod(String, String, String)
Debug level logging, needs to present at the beginning of a method

ExitMethod(String, String)
Debug level logging, needs to present at the end of a method

ExitMethod(String, String, String)
Debug level logging, needs to present at the end of a method

HardwareInfo()()()()
Logs information about the machine.

Level
Informas about the logging level

LogAlert(Int32, String)
Level 1 logging

LogCritical(Int32, String)
Level 2 logging

LogDebug(Int32, String)
Level 7 logging

LogEmergency(Int32, String)
Level 0 logging

LogError(Int32, String)
Level 3 logging

LogInformation(Int32, String)
Level 6 logging

LogMessage(LogLevel, Int32, String)
Logging according to the parameter level

LogMessage(LogLevel, Int32, String, array<Object>[]()[][])
Logging according to the parameter level

LogNotice(Int32, String)
Level 5 logging

LogWarning(Int32, String)
Level 4 logging

Open(LogLevel)
Permits logging. Default log level: Emergency

Opened
Informs about that the logger is open or not

WriteLog(LogLevel, array<Object>[]()[][]) Obsolete.
This method id obsolate and will be deleted.

Inheritance Hierarchy
Object
Logger

Assembly: VoIPSDK (Module: VoIPSDK) Version: 10.0.6.243