-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Update to handle net7/8 and platforms (#100)
- Loading branch information
1 parent
075a7ae
commit 7037125
Showing
19 changed files
with
1,121 additions
and
1,195 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
43 changes: 15 additions & 28 deletions
43
src/ReactiveMarbles.NuGet.Helpers/ConsoleNuGetLoggerOutput.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,25 @@ | ||
// Copyright (c) 2019-2021 ReactiveUI Association Incorporated. All rights reserved. | ||
// Copyright (c) 2019-2023 ReactiveUI Association Incorporated. All rights reserved. | ||
// ReactiveUI Association Incorporated licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for full license information. | ||
|
||
using System; | ||
|
||
namespace ReactiveMarbles.NuGet.Helpers | ||
namespace ReactiveMarbles.NuGet.Helpers; | ||
|
||
/// <summary> | ||
/// Provides logging to the console. | ||
/// </summary> | ||
public class ConsoleNuGetLoggerOutput : INuGetLoggerOutput | ||
{ | ||
/// <summary> | ||
/// Provides logging to the console. | ||
/// </summary> | ||
public class ConsoleNuGetLoggerOutput : INuGetLoggerOutput | ||
{ | ||
/// <inheritdoc/> | ||
public void Debug(string data) | ||
{ | ||
Console.WriteLine("[DEBUG]: " + data); | ||
} | ||
/// <inheritdoc/> | ||
public void Debug(string data) => Console.WriteLine("[DEBUG]: " + data); | ||
|
||
/// <inheritdoc/> | ||
public void Error(string data) | ||
{ | ||
Console.WriteLine("[ERROR]: " + data); | ||
} | ||
/// <inheritdoc/> | ||
public void Error(string data) => Console.WriteLine("[ERROR]: " + data); | ||
|
||
/// <inheritdoc/> | ||
public void Info(string data) | ||
{ | ||
Console.WriteLine("[INFO]: " + data); | ||
} | ||
/// <inheritdoc/> | ||
public void Info(string data) => Console.WriteLine("[INFO]: " + data); | ||
|
||
/// <inheritdoc/> | ||
public void Warn(string data) | ||
{ | ||
Console.WriteLine("[WARN]: " + data); | ||
} | ||
} | ||
/// <inheritdoc/> | ||
public void Warn(string data) => Console.WriteLine("[WARN]: " + data); | ||
} |
Oops, something went wrong.