Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Nov 11, 2016
1 parent f8a40c5 commit 1c9e8b4
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions samples/Exceptionless.SampleConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class Program {

public static void Main(string[] args) {
Console.CursorVisible = false;
if (!Console.IsInputRedirected)
if (!Console.IsInputRedirected)
StartDisplayingLogMessages();

ExceptionlessClient.Default.Configuration.UpdateSettingsWhenIdleInterval = TimeSpan.FromSeconds(15);
Expand All @@ -55,7 +55,7 @@ public static void Main(string[] args) {

if (ExceptionlessClient.Default.Configuration.Settings.GetBoolean("EnableWelcomeMessage", false))
Console.WriteLine($"Hello {Environment.MachineName}!");

// Test NLog
GlobalDiagnosticsContext.Set("GlobalProp", "GlobalValue");
Log.Info()
Expand Down
6 changes: 3 additions & 3 deletions samples/Exceptionless.SampleConsole/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"../../src/GlobalAssemblyInfo.cs",
"../../tests/Exceptionless.Tests/Utility/RandomEventGenerator.cs"
],
"exclude": "store"
"exclude": "store"
},
"emitEntryPoint": true
},
"dependencies": {
"Exceptionless": {
"target": "project"
},
"Exceptionless.DateTimeExtensions": "3.2.53",
"Exceptionless.DateTimeExtensions": "3.2.55",
"Exceptionless.NLog": {
"target": "project"
},
"Exceptionless.RandomData": "1.1.24",
"Exceptionless.RandomData": "1.1.26",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
Expand Down
6 changes: 3 additions & 3 deletions src/Exceptionless.Signed/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down Expand Up @@ -132,7 +132,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down Expand Up @@ -162,7 +162,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static void UseSessions(this ExceptionlessConfiguration config, bool send
public static void ApplySavedServerSettings(this ExceptionlessConfiguration config) {
SettingsManager.ApplySavedServerSettings(config);
}

/// <summary>
/// Automatically set a reference id for error events.
/// </summary>
Expand All @@ -130,7 +130,7 @@ public static void UseReferenceIds(this ExceptionlessConfiguration config) {


/// <summary>
/// Reads the <see cref="ExceptionlessAttribute" /> and <see cref="ExceptionlessSettingAttribute" />
/// Reads the <see cref="ExceptionlessAttribute" /> and <see cref="ExceptionlessSettingAttribute" />
/// from the passed in assembly.
/// </summary>
/// <param name="config">The configuration object you want to apply the attribute settings to.</param>
Expand All @@ -143,7 +143,7 @@ public static void ReadFromAttributes(this ExceptionlessConfiguration config, pa
}

/// <summary>
/// Reads the <see cref="ExceptionlessAttribute" /> and <see cref="ExceptionlessSettingAttribute" />
/// Reads the <see cref="ExceptionlessAttribute" /> and <see cref="ExceptionlessSettingAttribute" />
/// from the passed in assemblies.
/// </summary>
/// <param name="config">The configuration object you want to apply the attribute settings to.</param>
Expand All @@ -167,7 +167,7 @@ public static void ReadFromAttributes(this ExceptionlessConfiguration config, IC
var attr = assembly.GetCustomAttributes(typeof(ExceptionlessAttribute)).FirstOrDefault() as ExceptionlessAttribute;
if (attr == null)
continue;

if (!attr.Enabled)
config.Enabled = false;

Expand Down Expand Up @@ -223,7 +223,7 @@ public static void UseFileLogger(this ExceptionlessConfiguration config, string
public static void UseFolderStorage(this ExceptionlessConfiguration config, string folder) {
config.Resolver.Register<IObjectStorage>(new FolderObjectStorage(config.Resolver, folder));
}

public static void UseTraceLogEntriesPlugin(this ExceptionlessConfiguration config, int? defaultMaxEntriesToInclude = null) {
int maxEntriesToInclude = config.Settings.GetInt32(TraceLogPlugin.MaxEntriesToIncludeKey, defaultMaxEntriesToInclude ?? 0);

Expand Down Expand Up @@ -289,10 +289,10 @@ public static void ReadFromConfigSection(this ExceptionlessConfiguration config)

if (!section.Enabled)
config.Enabled = false;

if (IsValidApiKey(section.ApiKey))
config.ApiKey = section.ApiKey;

if (!String.IsNullOrEmpty(section.ServerUrl))
config.ServerUrl = section.ServerUrl;

Expand Down Expand Up @@ -371,7 +371,7 @@ public static void ReadFromAppSettings(this ExceptionlessConfiguration config) {
bool enabled;
if (Boolean.TryParse(ConfigurationManager.AppSettings["Exceptionless:Enabled"], out enabled) && !enabled)
config.Enabled = false;

string serverUrl = ConfigurationManager.AppSettings["Exceptionless:ServerUrl"];
if (!String.IsNullOrEmpty(serverUrl))
config.ServerUrl = serverUrl;
Expand All @@ -391,18 +391,18 @@ public static void ReadFromEnvironmentalVariables(this ExceptionlessConfiguratio
bool enabled;
if (Boolean.TryParse(GetEnvironmentalVariable("Exceptionless:Enabled") ?? GetEnvironmentalVariable("Exceptionless__Enabled"), out enabled) && !enabled)
config.Enabled = false;

string serverUrl = GetEnvironmentalVariable("Exceptionless:ServerUrl") ?? GetEnvironmentalVariable("Exceptionless__ServerUrl");
if (!String.IsNullOrEmpty(serverUrl))
config.ServerUrl = serverUrl;
}

private static Dictionary<string, string> _environmentVariables;

private static string GetEnvironmentalVariable(string name) {
if (String.IsNullOrEmpty(name))
return null;

if (_environmentVariables == null) {
try {
_environmentVariables = Environment.GetEnvironmentVariables().Cast<DictionaryEntry>().ToDictionary(e => e.Key.ToString(), e => e.Value.ToString());
Expand All @@ -411,7 +411,7 @@ private static string GetEnvironmentalVariable(string name) {
return null;
}
}

if (!_environmentVariables.ContainsKey(name))
return null;

Expand Down
6 changes: 3 additions & 3 deletions src/Exceptionless/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down Expand Up @@ -125,7 +125,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down Expand Up @@ -154,7 +154,7 @@
"System.ComponentModel.TypeConverter": "4.1.0",
"System.Data.Common": "4.1.0",
"System.Diagnostics.Process": "4.1.0",
"System.Diagnostics.StackTrace": "4.0.1",
"System.Diagnostics.StackTrace": "4.0.2",
"System.Diagnostics.TraceSource": "4.0.0",
"System.Dynamic.Runtime": "4.0.11",
"System.Net.NameResolution": "4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void SendBuffer(LoggingEvent[] events) {

public override void ActivateOptions() {
base.ActivateOptions();

if (String.IsNullOrEmpty(ApiKey) && String.IsNullOrEmpty(ServerUrl))
return;

Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/Exceptionless.NLog/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"define": [ "NET45" ]
},
"dependencies": {
"NLog": "4.3.8"
"NLog": "4.3.11"
}
}
}
Expand Down
Loading

0 comments on commit 1c9e8b4

Please sign in to comment.