mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
20 lines
554 B
C#
20 lines
554 B
C#
// Licensed under the Apache License, Version 2.0 (the "License").
|
|
// You may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
// https://github.com/FastTunnel/FastTunnel/edit/v2/LICENSE
|
|
// Copyright (c) 2019 Gui.H
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
using System;
|
|
|
|
namespace FastTunnel.Core.Extensions
|
|
{
|
|
public static class LoggerExtentions
|
|
{
|
|
public static void LogError(this ILogger logger, Exception ex)
|
|
{
|
|
logger.LogError(ex, string.Empty);
|
|
}
|
|
}
|
|
}
|