Exemple #1
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 /// <param name="userData">User-supplied data</param>
 protected LogStream(String userData)
 {
     m_logStream = new AiLogStream(OnLogstream, userData);
 }
Exemple #2
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 protected LogStream()
 {
     m_logStream = new AiLogStream(OnLogstream);
 }
Exemple #3
0
 /// <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;
 }
Exemple #4
0
 /// <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;
 }
Exemple #5
0
 public static extern void AttachLogStream(ref AiLogStream stream);
Exemple #6
0
 public static extern ReturnCode DetachLogStream(ref AiLogStream stream);