reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhruv Mahajan <dhruv.maha...@gmail.com>
Subject Question regarding Logger
Date Wed, 06 Apr 2016 04:37:52 GMT
Hi

I have question regarding Logger class.....By default Logger writes to
standard output stream right? In one of my tests, I used Console.SetOut to
redirect these outputs to  a stream. If I use Logger.Log for logging I do
not get anything in that stream while using Console.WriteLine achieves the
desired redirection to the stream. Can somebody explain me the difference
between Console.WriteLine and Logger.Log writing to standard output.

Dhruv

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message