mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-11 10:23:50 +00:00
Change Log Levels
This commit is contained in:
@@ -70,10 +70,9 @@ namespace QControlKit
|
|||||||
|
|
||||||
if (found == null)
|
if (found == null)
|
||||||
{
|
{
|
||||||
Log.Information($"[qbrowser] Lost {server.name} : {server.host} : {server.port}");
|
Log.Information($"[qbrowser] Lost {server.name} : {server.host} : {server.port} disconnecting");
|
||||||
server.disconnect();
|
server.disconnect();
|
||||||
Log.Information($"[qbrowser] after server disconnect()");
|
Log.Verbose($"[qbrowser] after server disconnect()");
|
||||||
|
|
||||||
servers.Remove(server);
|
servers.Remove(server);
|
||||||
OnServerLost(server);
|
OnServerLost(server);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,6 +68,9 @@ namespace QControlKit
|
|||||||
|
|
||||||
QMessage message = new QMessage(args.Message);
|
QMessage message = new QMessage(args.Message);
|
||||||
|
|
||||||
|
Log.Verbose(message.ToString());
|
||||||
|
|
||||||
|
|
||||||
if (message.IsReply)
|
if (message.IsReply)
|
||||||
{
|
{
|
||||||
JToken data = message.response;
|
JToken data = message.response;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace QControlKitXamDemo.iOS
|
|||||||
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
|
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
|
||||||
{
|
{
|
||||||
global::Xamarin.Forms.Forms.Init();
|
global::Xamarin.Forms.Forms.Init();
|
||||||
Log.Logger = new LoggerConfiguration().WriteTo.NSLog().MinimumLevel.Information().CreateLogger();
|
Log.Logger = new LoggerConfiguration().WriteTo.NSLog().MinimumLevel.Verbose().CreateLogger();
|
||||||
LoadApplication(new App());
|
LoadApplication(new App());
|
||||||
|
|
||||||
return base.FinishedLaunching(app, options);
|
return base.FinishedLaunching(app, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user