com.onlineobject.objectnet Namespace

EmbeddedLogger..::..Initialize Method (LogMethod, Boolean, String)

Initializes EmbeddedLogger with all log types enabled.

Namespace:  com.onlineobject.objectnet.server.Utils
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public static void Initialize(

	EmbeddedLogger..::..LogMethod logMethod,

	bool includeTimestamps,

	string timestampFormat

)

Parameters

logMethod
Type: com.onlineobject.objectnet.server.Utils..::..EmbeddedLogger..::..LogMethod
The method to use when logging all types of messages.
includeTimestamps
Type: Boolean
Whether or not to include timestamps when logging messages.
timestampFormat
Type: String
The format to use for timestamps.