Click or drag to resize

LogStream Class

Represents a log stream, which receives all log messages and streams them somewhere.
Inheritance Hierarchy
SystemObject
  Internal.AssimpLogStream
    Internal.AssimpConsoleLogStream

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public class LogStream : IDisposable

The LogStream type exposes the following members.

Constructors
 NameDescription
Protected methodLogStream(Boolean) Constructs a new LogStream.
Public methodLogStream(LoggingCallback) Constructs a new LogStream.
Public methodLogStream(LoggingCallback, String) Constructs a new LogStream.
Protected methodLogStream(String, Boolean) Constructs a new LogStream.
Top
Properties
 NameDescription
Public propertyIsAttached Gets whether or not the logstream is currently attached to the library.
Public propertyIsDisposed Gets whether the logstream has been disposed or not.
Public propertyStatic memberIsVerboseLoggingEnabled Gets or sets, if verbose logging is enabled globally.
Public propertyUserData Gets or sets the user data to be passed to the callback.
Top
Methods
 NameDescription
Public methodAttach Attaches the logstream to the library.
Public methodDetach Detaches the logstream from the library.
Public methodStatic memberDetachAllLogstreams Detaches all active logstreams from the library.
Public methodDispose Releases unmanaged resources held by the LogStream. This should not be called by the user if the logstream is currently attached to an assimp importer.
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizes an instance of the LogStream class.
(Overrides ObjectFinalize)
Public methodStatic memberGetAttachedLogStreams Gets all active logstreams that are currently attached to the library.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Initializes the stream by setting up native pointers for Assimp to the specified functions.
Public methodLog Logs a message.
Protected methodLogMessage Override this method to log a message for a subclass of Logstream, if no callback was set.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAiLogStreamCallback Callback for Assimp that handles a message being logged.
Protected methodOnAttach Called when the log stream has been attached to the assimp importer. At this point it may start receiving messages.
Protected methodOnDetach Called when the log stream has been detatched from the assimp importer. After this point it will stop receiving messages until it is re-attached.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also