mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 00:56:09 +03:00
Update perfusion
This commit is contained in:
parent
85125a46f1
commit
0759fe2af6
@ -14,7 +14,6 @@ namespace JetKarmaBot
|
|||||||
{
|
{
|
||||||
private Dictionary<string, Locale> locales = new Dictionary<string, Locale>();
|
private Dictionary<string, Locale> locales = new Dictionary<string, Locale>();
|
||||||
|
|
||||||
[Inject]
|
|
||||||
public Localization(IContainer c)
|
public Localization(IContainer c)
|
||||||
{
|
{
|
||||||
c.ResolveObject(this);
|
c.ResolveObject(this);
|
||||||
|
|||||||
@ -7,6 +7,8 @@ namespace JetKarmaBot
|
|||||||
{
|
{
|
||||||
public class LogInfo : ObjectInfo
|
public class LogInfo : ObjectInfo
|
||||||
{
|
{
|
||||||
|
public override ObjectInfo Clone() => new LogInfo();
|
||||||
|
|
||||||
public override object GetInstance(IContainer c, Type requester = null)
|
public override object GetInstance(IContainer c, Type requester = null)
|
||||||
{
|
{
|
||||||
return LogManager.GetLogger(requester != null ? getTypeName(requester) : "<type unspecified>");
|
return LogManager.GetLogger(requester != null ? getTypeName(requester) : "<type unspecified>");
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 036e4c67275e859207feee215cf87d614e7198d2
|
Subproject commit 5913a7e44f7e9ac63a5bfd04c837a9968cf1fe88
|
||||||
Loading…
Reference in New Issue
Block a user