Skip to content

Commit

Permalink
Merge pull request #1 from Streets-Heaver/RenameLoggingClass
Browse files Browse the repository at this point in the history
Renamed
  • Loading branch information
tomaustin700 authored Jan 28, 2021
2 parents 357f8a5 + 96b0c94 commit 4905f25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions ElasticLogging/ElasticLogging.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ElasticLogging.Classes;
using ElasticLogging.Enums;
using Nest;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
Expand All @@ -10,15 +9,15 @@

namespace ElasticLogging
{
public class ElasticLogging : IElasticLogging, IDisposable, IAsyncDisposable
public class Logger : ILogger, IDisposable, IAsyncDisposable
{
private readonly ElasticClient _elasticClient;
private readonly string _logName;
private readonly bool _logToFile;
private readonly List<LogMessage> _pendingLogs;
private readonly LoggingSettings _settings;

public ElasticLogging(LoggingSettings settings, string name, bool logToFile)
public Logger(LoggingSettings settings, string name, bool logToFile)
{
_logName = name;
_logToFile = logToFile;
Expand Down
2 changes: 1 addition & 1 deletion ElasticLogging/IElasticLogging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace ElasticLogging
{
public interface IElasticLogging
public interface ILogger
{
void Debug(string message);
Task DebugAsync(string message);
Expand Down

0 comments on commit 4905f25

Please sign in to comment.