mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-30 10:51:42 +00:00
fixed build error
This commit is contained in:
parent
04f05bdb83
commit
2d42d1ce6a
2 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@ public static Dictionary<T1, T2> Merge<T1, T2>(this Dictionary<T1, T2> first, Di
|
||||||
return merged;
|
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);
|
collection.Add(key, value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,11 @@ public void Error(string message)
|
||||||
_logger.Error(message);
|
_logger.Error(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Error(Exception exception)
|
||||||
|
{
|
||||||
|
_logger.ErrorException(exception.Message, exception);
|
||||||
|
}
|
||||||
|
|
||||||
public void Write(string message, bool escaped)
|
public void Write(string message, bool escaped)
|
||||||
{
|
{
|
||||||
_logger.Info(message);
|
_logger.Info(message);
|
||||||
|
|
Loading…
Reference in a new issue