Created
May 2, 2015 20:28
-
-
Save dbuksbaum/547d378fb1bcfa577cf6 to your computer and use it in GitHub Desktop.
Introducing Caliburn.Micro.Logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Extension to the ILog interface to allow for richer Error messages. | |
| /// Based on a discussion in the Caliburn.Micro discussion forum on Codeplex. | |
| /// See <see cref="http://caliburnmicro.codeplex.com/discussions/261656"/>. | |
| /// </summary> | |
| public interface ILogExtended : ILog | |
| { | |
| /// <summary> | |
| /// Logs the message as error. | |
| /// </summary> | |
| /// <param name="format">A formatted message.</param> | |
| /// <param name="args">Parameters to be injected into the formatted message.</param> | |
| void Error(string format, params object[] args); | |
| /// <summary> | |
| /// Logs the exception. | |
| /// </summary> | |
| /// <param name="exception">The exception.</param> | |
| /// <param name="format">A formatted message.</param> | |
| /// <param name="args">Parameters to be injected into the formatted message.</param> | |
| void Error(Exception exception, string format, params object[] args); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment