/// <summary> /// Constructs a new LogStream. /// </summary> /// <param name="userData">User-supplied data</param> protected LogStream(String userData) { m_logStream = new AiLogStream(OnLogstream, userData); }
/// <summary> /// Constructs a new LogStream. /// </summary> protected LogStream() { m_logStream = new AiLogStream(OnLogstream); }
/// <summary> /// Constructs a new LogStream. /// </summary> /// <param name="callback">Callback called when messages are logged.</param> /// <param name="userData">User-supplied data</param> public LogStream(LogCallback callback, String userData) { m_logStream = new AiLogStream(OnLogstream, userData); m_logCallback = callback; }
/// <summary> /// Constructs a new LogStream. /// </summary> /// <param name="callback">Callback called when messages are logged.</param> public LogStream(LogCallback callback) { m_logStream = new AiLogStream(OnLogstream); m_logCallback = callback; }
public static extern void AttachLogStream(ref AiLogStream stream);
public static extern ReturnCode DetachLogStream(ref AiLogStream stream);