fixed build error

pull/4/head
Keivan Beigi 10 years ago
parent 04f05bdb83
commit 2d42d1ce6a

@ -24,7 +24,7 @@ namespace NzbDrone.Common
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);
}

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

Loading…
Cancel
Save