Loggers - Taritsyn/WebMarkupMin GitHub Wiki
Loggers can to record errors and warnings, that occur during the minification. Be a logger can any class, that implements the ILogger
interface or inherits the LoggerBase
class from the WebMarkupMin.Core.Loggers
namespace.
If during of minification an error occured, then the ThrowExceptionLogger
class throws exception of the MarkupMinificationException
type.
If you prefer to self-handle minification errors, you can use instead of the real logger the stub in the form of NullLogger
class.