This repository was archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6b0cd5
commit 4528bdb
Showing
28 changed files
with
799 additions
and
1,086 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Extensions.Logging | ||
{ | ||
public struct EventId | ||
{ | ||
private int _id; | ||
private string _name; | ||
|
||
public EventId(int id, string name = null) | ||
{ | ||
_id = id; | ||
_name = name; | ||
} | ||
|
||
public int Id | ||
{ | ||
get | ||
{ | ||
return _id; | ||
} | ||
} | ||
|
||
public string Name | ||
{ | ||
get | ||
{ | ||
return _name; | ||
} | ||
} | ||
|
||
public static implicit operator EventId(int i) | ||
{ | ||
return new EventId(i); | ||
} | ||
} | ||
} |
15 changes: 0 additions & 15 deletions
15
src/Microsoft.Extensions.Logging.Abstractions/ILogValues.cs
This file was deleted.
Oops, something went wrong.
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
124 changes: 0 additions & 124 deletions
124
src/Microsoft.Extensions.Logging.Abstractions/LogFormatter.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.