示例#1
0
 /// <summary>
 /// Logs events, exceptions and messages into the given stream. To disable logging into a previous provided stream, call
 /// this method again and provide a null reference as stream. Stream hot swapping is supported.
 /// </summary>
 /// <param name="stream">The stream to log into.</param>
 public void LogIntoStream(Stream stream) => logger.SetOutputStream(stream);