Skip to content

Commit

Permalink
Merge pull request #1 from serilog/dev
Browse files Browse the repository at this point in the history
Sync to base
  • Loading branch information
rocknet authored Apr 26, 2020
2 parents 41f65c7 + 4dc7030 commit 36b6bea
Show file tree
Hide file tree
Showing 123 changed files with 7,695 additions and 1,638 deletions.
64 changes: 60 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,72 @@
root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{csproj,json,config,yml}]
indent_size = 2

[*.sh]
end_of_line = lf

[*.{cmd, bat}]
[*.{cmd,bat}]
end_of_line = crlf

[*.cs]
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_labels = flush_left
csharp_indent_switch_labels = true
csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = all
csharp_new_line_between_query_expression_clauses = true
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:error
csharp_prefer_braces = true:silent
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_around_binary_operators = before_and_after
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_style_conditional_delegate_call = true:suggestion
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_var_elsewhere = true:silent
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_using_directive_placement = outside_namespace:warning

dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = error
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private,protected
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
dotnet_sort_system_directives_first = true
dotnet_style_require_accessibility_modifiers = always:error
47 changes: 36 additions & 11 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,58 @@
5.2
# 5.3.0
Code quality release.
* Added code analysis and editorconfig rules based on Microsoft standards.
* Fixed code analysis errors where possible and added justified suppressions the few remainig.
* Use Visual Studio 2019 for AppVeyor builds
* Updated some dependencies.
* Added CombinedConfigDemo sample program showing how to combine config and code based sink intitialization.
* Added a lot of unit tests.

# 5.2.0
* Enhancement #232: Allow to override formatter for rendering LogEvent column.
* Fixed #187 (again - still an exception when using logevent column with TimeStamp column type DateTimeOffset).
* Added sample programs

# 5.1.4
* Fixed #187 Support datetimeoffset as a column type for default column TimeStamp.
* Fixed #229 Slight issue with documentation.

# 5.1.3
* Support binary data type, support specify data length in column config, support specify allow null column
* Also build on unit-test commits
* Added issue templase
* Hybrid config implementation
* Bugfixes

# 5.1.2
* Support for Audit sink added (#118/#110).

4.0.0
# 4.0.0
* Serilog 2.0
* [Documentation fix](https://github.com/serilog/serilog-sinks-mssqlserver/pull/32)

2.0.33
# 2.0.33
* Option added to exclude redundant properties from serialized JSON in column LogEvent. (https://github.com/serilog/serilog-sinks-mssqlserver/pull/27)

2.0.32
# 2.0.32
* Safe conversion of data types. Also included selflog for bulk operation errors. (https://github.com/serilog/serilog-sinks-mssqlserver/pull/4)

2.0.31
# 2.0.31
* Added the ability to configure additional columns via XML configuration (https://github.com/serilog/serilog-sinks-mssqlserver/pull/6)

2.0.30
# 2.0.30
* You can optionally save the log event inside the database too. Also added ability to exclude the properties if they are saved already inside additional columns. (https://github.com/serilog/serilog-sinks-mssqlserver/pull/7)

2.0.28
# 2.0.28
* Added explicit column mappings (https://github.com/serilog/serilog-sinks-mssqlserver/pull/10)

2.0.27
# 2.0.27
* Option added to automatically create a database table (by Kiran Varsani (https://github.com/varsanikp))

2.0.13
# 2.0.13
* Ability to add additional properties as columns in the database

2.0.1
# 2.0.1
* Option to [write times in UTC](https://github.com/serilog/serilog-sinks-mssqlserver/pull/1)

1.5
# 1.5
* Moved from serilog/serilog
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Code of Conduct

Please refer to the [Serilog Code of Conduct](https://github.com/serilog/serilog/blob/dev/CODE_OF_CONDUCT.md) which covers all repositories within the Serilog Organization.
Loading

0 comments on commit 36b6bea

Please sign in to comment.