Skip to content

Commit

Permalink
The default templates now use a log property instead of a log field
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Mar 13, 2018
1 parent dc69005 commit 17f8359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Generator/Templates/Defaults/CSharp.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace {{namespace}}
{
private {{name}}() { }

public static readonly {{interfaceName}} Log = new {{name}}();
public static {{interfaceName}} Log { get; } = new {{name}}();

{{#events}}
{{documentationXml}}
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/Templates/Defaults/chillicream.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace {{namespace}}
{
private {{name}}() { }

public static readonly {{interfaceName}} Log = new {{name}}();
public static {{interfaceName}} Log { get; } = new {{name}}();

{{#events}}
{{documentationXml}}
Expand Down

0 comments on commit 17f8359

Please sign in to comment.