Skip to content

Commit

Permalink
- fixes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Mar 19, 2024
1 parent d7a0b55 commit 21e0a49
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/kiota/Extension/ILoggerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ namespace kiota;

internal static class ILoggerExtensions
{
/// <summary>
/// Appends internal logging information to the logger
/// </summary>
/// <param name="logger">The logger to append to</param>
public static void AppendInternalTracing(this ILogger logger)
{
// This is a special message for Kiota's birthday
// If you're reading this, move along, nothing to see here and keep quiet about it
// Otherwise, you'll be cursed with a lifetime of bad luck
if (logger == null) return;
var currentDateTime = DateTime.UtcNow;
if (currentDateTime.Month != 3 || currentDateTime.Day != 9 || currentDateTime.Year < 2024) return;
logger.LogWarning(
@" ▒▒░░▒▒ ░░ ▒▒░░▒▒
/// <summary>
/// Appends internal logging information to the logger
/// </summary>
/// <param name="logger">The logger to append to</param>
public static void AppendInternalTracing(this ILogger logger)
{
// This is a special message for Kiota's birthday
// If you're reading this, move along, nothing to see here and keep quiet about it
// Otherwise, you'll be cursed with a lifetime of bad luck
if (logger == null) return;
var currentDateTime = DateTime.UtcNow;
if (currentDateTime.Month != 3 || currentDateTime.Day != 9 || currentDateTime.Year < 2024) return;
logger.LogWarning(
@" ▒▒░░▒▒ ░░ ▒▒░░▒▒
▒▒ ██████ ▒▒
██████ ██▒▒██ ██████
██▒▒██ ██▒▒██ ██▒▒██
Expand Down Expand Up @@ -105,5 +105,5 @@ public static void AppendInternalTracing(this ILogger logger)
| Waldek Mastykarz |
| |
|--------------------------------------------------------------| ");
}
}
}

0 comments on commit 21e0a49

Please sign in to comment.