Commit Graph

16 Commits

Author SHA1 Message Date
Stephan
4a32eebb0b Cleanup logging 2018-08-30 19:08:55 +02:00
Stephan
9e07bf0948 Improve ILogger documentation 2018-08-29 09:12:14 +02:00
Shannon
8d6e297c37 Adds additional Fatal methods to match Error and move Fatal code above error so all logger code goes from Fatal -> Verbose 2018-08-28 15:24:45 +10:00
Warren
24f91f1917 Adds in Error without ex for just a message and a message template with params 2018-08-23 14:43:38 +01:00
Warren
66e4e1f0f4 Adds new method to ILogger for taking only the exception - NOTE will add an empty string for the message 2018-08-23 12:14:07 +01:00
Warren
9e996c68bb Refactored the error params, so that exception is before the message/template so its more in sync with Serilog signature & was an easy way to find some more logs I missed too 2018-08-17 15:41:58 +01:00
Warren
a020d60f3e Adds in new log level from Serilog to our Umbraco ILogger - Fatal (Worse than Error) 2018-08-17 11:26:22 +01:00
Warren
e76d35e2ff * Removes the unused func methods from Logger & DebugDiagnosticsLogger
* Adds in new Verbose logging level
2018-08-15 16:39:35 +01:00
Warren
95c5817e1e Removes the logging Func from Interface AND updates the only usages
* UmbracoExamineindexer
* The extension method <T> wrappers
2018-08-15 15:21:27 +01:00
Warren
24cd72e9a5 Update Umbraco ILogger to use messagetemplates & params to make Serilog happy 2018-08-14 13:16:22 +01:00
Stephan
553de2ea68 Cleanup ILogger 2018-04-03 16:15:59 +02:00
Shannon
271a100759 Obsolete the methods we want to remove from ILogger 2018-04-03 16:38:31 +10:00
Stephan
c76403077f Normalize cr/lf/tab 2017-07-20 11:21:28 +02:00
Stephan
8561d85f7a porting 7.6-rc1 into 8 2017-05-24 12:25:39 +02:00
Stephan
5c2232aa3b Refactor logging and profiling, boot reporting 2016-09-19 16:33:47 +02:00
Shannon
519b06fe30 Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that. 2015-01-07 17:23:24 +11:00