Commit Graph

17 Commits

Author SHA1 Message Date
Martin Molinero 6929b6f632 Suppressing inlining on methods that call WhoCalledMe 2018-07-27 17:36:36 -03:00
snugs be950e756a Log full errors/stack traces
Many places in the code used Log.Error(err.Message) or equivalent which
strips out all the really useful information, such as the stack trace
and inner exceptions. Using Log.Error(exception) is the correct way to
log an error as it will correctly write all the message details, also,
by passing the full Exception object we can improve the logging in this
one place and all call sites will automatically benefit from the improvements
2015-12-02 12:35:33 -05:00
QuantConnect 785e94d209 Tidy up of the ToolBox project to reduce duplicated code 2015-10-08 17:56:49 -04:00
snugs e1938baafe Clean up using directives 2015-09-01 22:17:35 -04:00
snugs cf9205c3af Fixes bug in Log.Error(Exception) 2015-08-17 22:06:54 -04:00
QuantConnect fde0cbed3a Strip out block quote section header comments 2015-06-13 16:04:27 -04:00
snugs 759273565b misc fixes 2015-06-08 10:51:06 -04:00
snugs 89b6e98af8 Fixes warnings mostly relating to xml comments
Also cleans up some block comments

Via PR#72 - thanks @ammachado!
2015-05-13 10:56:47 -04:00
snugs abd1092db1 Adds Log.Error(exception) methods 2015-05-12 18:16:25 -04:00
QuantConnect ab67703515 Default console log handler 2015-04-06 17:10:38 -04:00
snugs 28e16d4c3c Wire up log handler based on configuration
Using "local":true for ConsoleLogHandler, false for FileLogHandler, we can later override this with an MEF implementation and be specified by type name like the other MEF plugins.

Improved FileLogHandler to be thread safe and have non-async flush operations
2015-03-31 16:29:35 -04:00
snugs d023a271fb Adds FileLogHandler
ILogHandler now implements IDisposable
Adds test for FileLogHandler
Adds banners
Removed call to 'logger' from ConsoleLogHandler
2015-03-31 16:29:34 -04:00
bdilber 9546aedce7 Refactored the Log class into ILogHandler interface and the ConsoleLogHandler implementation. 2015-02-20 19:49:51 +02:00
Baran Dilber 9904c667c5 Added Console field to Log class to redirect log messages if needed. (Commented Console color change lines for compatibility with TextWriter) 2015-02-17 18:33:53 +02:00
Jared Broad 5431c02d76 Removed traces 2015-01-21 13:52:31 -03:00
Jared Broad a9951819f5 Initial implementation of live trading 2015-01-17 20:51:44 -03:00
Jared Broad b3de520915 Initial commit 2015-01-12 12:03:33 -03:00