Skip to content

Commit

Permalink
Add get set to PropertyToken._position (#6)
Browse files Browse the repository at this point in the history
# Motivations
This property was init-only, which is not compatable with FiveM's mono
  • Loading branch information
Twinki14 authored Dec 30, 2023
1 parent feba930 commit 950e30c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ logger.Information("Hello from the FiveM client!");
- [#2](https://github.com/Twinki14/CitizenFX.Extensions.Client.Serilog/pull/2) - Add CI/CD proceeded by fix [in #4](https://github.com/Twinki14/CitizenFX.Extensions.Client.Serilog/pull/4)
- [#3](https://github.com/Twinki14/CitizenFX.Extensions.Client.Serilog/pull/3) - Remove extra performance tests & results, this just bloated things for the purpose of this fork
- [#5](https://github.com/Twinki14/CitizenFX.Extensions.Client.Serilog/pull/5) - Un-yield `yield return` and `yield break` uses
- [#6](https://github.com/Twinki14/CitizenFX.Extensions.Client.Serilog/pull/6) - Add `get` `set` to PropertyToken._position

## Notes
- This fork is in **NO WAY** affiliated with the [Serilog Organization](https://github.com/serilog) or the [Serilog project](https://serilog.net/), it's purely a fork to provide compatability with FiveM's client-resource shipped mono
Expand Down
2 changes: 1 addition & 1 deletion src/Serilog/Parsing/PropertyToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Serilog.Parsing;
/// </summary>
public sealed class PropertyToken : MessageTemplateToken
{
readonly int? _position;
int? _position { get; set; }

/// <summary>
/// Construct a <see cref="PropertyToken"/>.
Expand Down

0 comments on commit 950e30c

Please sign in to comment.