1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

fixed build error

This commit is contained in:
Keivan Beigi 2014-11-21 17:13:00 -08:00
parent 04f05bdb83
commit 2d42d1ce6a
2 changed files with 6 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public static Dictionary<T1, T2> Merge<T1, T2>(this Dictionary<T1, T2> first, Di
return merged;
}
public static void Add<TKey, TValue>(this ICollection<KeyValuePair<TKey, TValue>> collection, TKey key, TValue value)
public static void Add<TKey, TValue>(this ICollection<KeyValuePair<TKey, TValue>> collection, TKey key, TValue value)
{
collection.Add(key, value);
}

View File

@ -44,6 +44,11 @@ public void Error(string message)
_logger.Error(message);
}
public void Error(Exception exception)
{
_logger.ErrorException(exception.Message, exception);
}
public void Write(string message, bool escaped)
{
_logger.Info(message);