diff --git a/src/Serilog.Sinks.Console/project.json b/src/Serilog.Sinks.Console/project.json index 6340dd158..7ed4f0806 100644 --- a/src/Serilog.Sinks.Console/project.json +++ b/src/Serilog.Sinks.Console/project.json @@ -1,6 +1,6 @@ { "version": "2.0.0-beta-*", - "description": "The console sink for Serilog - Simple .NET logging with fully-structured events", + "description": "The console sink for Serilog.", "authors": [ "Serilog Contributors" ], "tags": [ "serilog", "console" ], "projectUrl": "http://serilog.net", diff --git a/src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceConfigurationExtensions.cs b/src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceLoggerConfigurationExtensions.cs similarity index 93% rename from src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceConfigurationExtensions.cs rename to src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceLoggerConfigurationExtensions.cs index 22c07ee35..473f1a83a 100644 --- a/src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceConfigurationExtensions.cs +++ b/src/Serilog.Sinks.DiagnosticTrace/DiagnosticTraceLoggerConfigurationExtensions.cs @@ -22,7 +22,7 @@ namespace Serilog { - public static class DiagnosticTraceConfigurationExtensions + public static class DiagnosticTraceLoggerConfigurationExtensions { /// /// Write log events to the . @@ -39,7 +39,7 @@ public static class DiagnosticTraceConfigurationExtensions public static LoggerConfiguration Trace( this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, - string outputTemplate = LoggerConfigurationFullNetFxExtensions.DefaultOutputTemplate, + string outputTemplate = LoggerConfigurationExtensions.DefaultOutputTemplate, IFormatProvider formatProvider = null, LoggingLevelSwitch levelSwitch = null) { diff --git a/src/Serilog.Sinks.DiagnosticTrace/project.json b/src/Serilog.Sinks.DiagnosticTrace/project.json index f8f0af16d..cc8c391a4 100644 --- a/src/Serilog.Sinks.DiagnosticTrace/project.json +++ b/src/Serilog.Sinks.DiagnosticTrace/project.json @@ -1,6 +1,6 @@ { "version": "2.0.0-beta-*", - "description": "The diagnostic trace sink for Serilog - Simple .NET logging with fully-structured events", + "description": "The diagnostic trace sink for Serilog.", "authors": [ "Serilog Contributors" ], "tags": [ "serilog", "trace", "diagnostic" ], "projectUrl": "http://serilog.net", diff --git a/src/Serilog.Sinks.IOFile/IOFileConfigurationExtensions.cs b/src/Serilog.Sinks.IOFile/IOFileLoggerConfigurationExtensions.cs similarity index 92% rename from src/Serilog.Sinks.IOFile/IOFileConfigurationExtensions.cs rename to src/Serilog.Sinks.IOFile/IOFileLoggerConfigurationExtensions.cs index 231d9b62f..3a1b49da6 100644 --- a/src/Serilog.Sinks.IOFile/IOFileConfigurationExtensions.cs +++ b/src/Serilog.Sinks.IOFile/IOFileLoggerConfigurationExtensions.cs @@ -22,7 +22,7 @@ namespace Serilog { - public static class IOFileConfigurationExtensions + public static class IOFileLoggerConfigurationExtensions { /// /// Write log events to the specified file. @@ -44,9 +44,9 @@ public static LoggerConfiguration File( this LoggerSinkConfiguration sinkConfiguration, string path, LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, - string outputTemplate = LoggerConfigurationFullNetFxExtensions.DefaultOutputTemplate, + string outputTemplate = LoggerConfigurationExtensions.DefaultOutputTemplate, IFormatProvider formatProvider = null, - long? fileSizeLimitBytes = LoggerConfigurationFullNetFxExtensions.DefaultFileSizeLimitBytes, + long? fileSizeLimitBytes = LoggerConfigurationExtensions.DefaultFileSizeLimitBytes, LoggingLevelSwitch levelSwitch = null) { if (sinkConfiguration == null) throw new ArgumentNullException(nameof(sinkConfiguration)); diff --git a/src/Serilog.Sinks.IOFile/project.json b/src/Serilog.Sinks.IOFile/project.json index 35b652da5..cdcd0c086 100644 --- a/src/Serilog.Sinks.IOFile/project.json +++ b/src/Serilog.Sinks.IOFile/project.json @@ -1,6 +1,6 @@ { "version": "2.0.0-beta-*", - "description": "The file sink for Serilog - Simple .NET logging with fully-structured events", + "description": "The file sink for Serilog", "authors": [ "Serilog Contributors" ], "tags": [ "serilog", "file", "io" ], "projectUrl": "http://serilog.net", diff --git a/src/Serilog.Sinks.IOTextWriter/IOTextWriterConfigurationExtensions.cs b/src/Serilog.Sinks.IOTextWriter/IOTextWriterLoggerConfigurationExtensions.cs similarity index 92% rename from src/Serilog.Sinks.IOTextWriter/IOTextWriterConfigurationExtensions.cs rename to src/Serilog.Sinks.IOTextWriter/IOTextWriterLoggerConfigurationExtensions.cs index 5247b015a..a101b7612 100644 --- a/src/Serilog.Sinks.IOTextWriter/IOTextWriterConfigurationExtensions.cs +++ b/src/Serilog.Sinks.IOTextWriter/IOTextWriterLoggerConfigurationExtensions.cs @@ -8,7 +8,7 @@ namespace Serilog { - public static class IOTextWriterConfigurationExtensions + public static class IOTextWriterLoggerConfigurationExtensions { /// /// Write log events to the provided . @@ -27,7 +27,7 @@ public static LoggerConfiguration TextWriter( this LoggerSinkConfiguration sinkConfiguration, TextWriter textWriter, LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, - string outputTemplate = LoggerConfigurationFullNetFxExtensions.DefaultOutputTemplate, + string outputTemplate = LoggerConfigurationExtensions.DefaultOutputTemplate, IFormatProvider formatProvider = null, LoggingLevelSwitch levelSwitch = null) { diff --git a/src/Serilog.Sinks.IOTextWriter/project.json b/src/Serilog.Sinks.IOTextWriter/project.json index dce7d016f..d37fc8b4a 100644 --- a/src/Serilog.Sinks.IOTextWriter/project.json +++ b/src/Serilog.Sinks.IOTextWriter/project.json @@ -1,8 +1,8 @@ { "version": "2.0.0-beta-*", - "description": "The IO Text Writer sink for Serilog - Simple .NET logging with fully-structured events", + "description": "The System.IO.TextWriter sink for Serilog", "authors": [ "Serilog Contributors" ], - "tags": [ "serilog", "IO", "text", "writer"], + "tags": [ "serilog", "IO", "text", "writer" ], "projectUrl": "http://serilog.net", "licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0", "iconUrl": "http://serilog.net/images/serilog-sink-nuget.png", @@ -14,7 +14,7 @@ }, "frameworks": { "net45": { - }, + }, "dotnet5.1": { "dependencies": { "System.IO": "4.0.11-beta-23516" diff --git a/src/Serilog.Sinks.Observable/ObservableConfigurationExtensions.cs b/src/Serilog.Sinks.Observable/ObservableLoggerConfigurationExtensions.cs similarity index 95% rename from src/Serilog.Sinks.Observable/ObservableConfigurationExtensions.cs rename to src/Serilog.Sinks.Observable/ObservableLoggerConfigurationExtensions.cs index d48091ff4..bec88326e 100644 --- a/src/Serilog.Sinks.Observable/ObservableConfigurationExtensions.cs +++ b/src/Serilog.Sinks.Observable/ObservableLoggerConfigurationExtensions.cs @@ -6,7 +6,7 @@ namespace Serilog { - public static class ObservableConfigurationExtensions + public static class ObservableLoggerConfigurationExtensions { /// /// Write events to Rx observers. diff --git a/src/Serilog.Sinks.Observable/project.json b/src/Serilog.Sinks.Observable/project.json index d9fbc1040..b9cc63b00 100644 --- a/src/Serilog.Sinks.Observable/project.json +++ b/src/Serilog.Sinks.Observable/project.json @@ -1,6 +1,6 @@ { "version": "2.0.0-beta-*", - "description": "The observable sink for Serilog - Simple .NET logging with fully-structured events", + "description": "The observable sink for Serilog.", "authors": [ "Serilog Contributors" ], "tags": [ "serilog", "observable", "reactive" ], "projectUrl": "http://serilog.net", diff --git a/src/Serilog.Sinks.RollingFile/RollingFileConfigurationExtensions.cs b/src/Serilog.Sinks.RollingFile/RollingFileLoggerConfigurationExtensions.cs similarity index 91% rename from src/Serilog.Sinks.RollingFile/RollingFileConfigurationExtensions.cs rename to src/Serilog.Sinks.RollingFile/RollingFileLoggerConfigurationExtensions.cs index e2b64d0bf..62924028b 100644 --- a/src/Serilog.Sinks.RollingFile/RollingFileConfigurationExtensions.cs +++ b/src/Serilog.Sinks.RollingFile/RollingFileLoggerConfigurationExtensions.cs @@ -6,7 +6,7 @@ namespace Serilog.Sinks.RollingFile { - public static class RollingFileConfigurationExtensions + public static class RollingFileLoggerConfigurationExtensions { const int DefaultRetainedFileCountLimit = 31; // A long month of logs @@ -36,9 +36,9 @@ public static LoggerConfiguration RollingFile( this LoggerSinkConfiguration sinkConfiguration, string pathFormat, LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, - string outputTemplate = LoggerConfigurationFullNetFxExtensions.DefaultOutputTemplate, + string outputTemplate = LoggerConfigurationExtensions.DefaultOutputTemplate, IFormatProvider formatProvider = null, - long? fileSizeLimitBytes = LoggerConfigurationFullNetFxExtensions.DefaultFileSizeLimitBytes, + long? fileSizeLimitBytes = LoggerConfigurationExtensions.DefaultFileSizeLimitBytes, int? retainedFileCountLimit = DefaultRetainedFileCountLimit, LoggingLevelSwitch levelSwitch = null) { diff --git a/src/Serilog/Context/LogContext.cs b/src/Serilog/Context/LogContext.cs index da23467a5..07bfc3c56 100644 --- a/src/Serilog/Context/LogContext.cs +++ b/src/Serilog/Context/LogContext.cs @@ -23,7 +23,7 @@ namespace Serilog.Context { /// /// Holds ambient properties that can be attached to log events. To - /// configure, use the + /// configure, use the /// extension method. /// /// diff --git a/src/Serilog/LoggerConfigurationFullNetFxExtensions.cs b/src/Serilog/LoggerConfigurationExtensions.cs similarity index 99% rename from src/Serilog/LoggerConfigurationFullNetFxExtensions.cs rename to src/Serilog/LoggerConfigurationExtensions.cs index d322d3ddb..cd2b04f14 100644 --- a/src/Serilog/LoggerConfigurationFullNetFxExtensions.cs +++ b/src/Serilog/LoggerConfigurationExtensions.cs @@ -37,7 +37,7 @@ namespace Serilog /// Extends to add Full .NET Framework /// capabilities. /// - public static class LoggerConfigurationFullNetFxExtensions + public static class LoggerConfigurationFxExtensions { //TODO: Need to confirm this is the best location for this default. Used in File, Trace, RollingFile. Do we move this to each sink? public const string DefaultOutputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}";