Fix JSON DLL, NativeUI as git submodule, Add LogManager, Fix DB Migrations
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using ReallifeGamemode.Server.Core.API;
|
||||
using ReallifeGamemode.Server.Log;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core
|
||||
{
|
||||
@@ -9,9 +11,11 @@ namespace ReallifeGamemode.Server.Core
|
||||
{
|
||||
protected IAPI Api { get; } = Main.API;
|
||||
|
||||
protected ILogger Log { get; }
|
||||
|
||||
public Script()
|
||||
{
|
||||
|
||||
Log = LogManager.GetLogger(GetType());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user