rename logger interface
This commit is contained in:
parent
7e193e493a
commit
e239c5d1ee
|
@ -3,7 +3,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace Blarg.GameFramework
|
namespace Blarg.GameFramework
|
||||||
{
|
{
|
||||||
public class SDLLogger : IPlatformLogger
|
public class SDLLogger : ILogger
|
||||||
{
|
{
|
||||||
StringBuilder _sb;
|
StringBuilder _sb;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ namespace Blarg.GameFramework
|
||||||
get { return PlatformType.Desktop; }
|
get { return PlatformType.Desktop; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IPlatformLogger Logger
|
public override ILogger Logger
|
||||||
{
|
{
|
||||||
get { return _logger; }
|
get { return _logger; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace Blarg.GameFramework
|
||||||
public abstract PlatformOS OperatingSystem { get; }
|
public abstract PlatformOS OperatingSystem { get; }
|
||||||
public abstract PlatformType Type { get; }
|
public abstract PlatformType Type { get; }
|
||||||
|
|
||||||
public abstract IPlatformLogger Logger { get; }
|
public abstract ILogger Logger { get; }
|
||||||
public abstract IFileSystem FileSystem { get; }
|
public abstract IFileSystem FileSystem { get; }
|
||||||
public abstract IKeyboard Keyboard { get; }
|
public abstract IKeyboard Keyboard { get; }
|
||||||
public abstract IMouse Mouse { get; }
|
public abstract IMouse Mouse { get; }
|
||||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
||||||
|
|
||||||
namespace Blarg.GameFramework
|
namespace Blarg.GameFramework
|
||||||
{
|
{
|
||||||
public interface IPlatformLogger
|
public interface ILogger
|
||||||
{
|
{
|
||||||
void Info(string category, string format, params object[] args);
|
void Info(string category, string format, params object[] args);
|
||||||
void Warn(string category, string format, params object[] args);
|
void Warn(string category, string format, params object[] args);
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace Blarg.GameFramework
|
||||||
PlatformOS OperatingSystem { get; }
|
PlatformOS OperatingSystem { get; }
|
||||||
PlatformType Type { get; }
|
PlatformType Type { get; }
|
||||||
|
|
||||||
IPlatformLogger Logger { get; }
|
ILogger Logger { get; }
|
||||||
IFileSystem FileSystem { get; }
|
IFileSystem FileSystem { get; }
|
||||||
IKeyboard Keyboard { get; }
|
IKeyboard Keyboard { get; }
|
||||||
IMouse Mouse { get; }
|
IMouse Mouse { get; }
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace Blarg.GameFramework
|
||||||
public static PlatformType Type { get; private set; }
|
public static PlatformType Type { get; private set; }
|
||||||
|
|
||||||
public static ILooper Looper { get; private set; }
|
public static ILooper Looper { get; private set; }
|
||||||
public static IPlatformLogger Logger { get; private set; }
|
public static ILogger Logger { get; private set; }
|
||||||
public static IFileSystem FileSystem { get; private set; }
|
public static IFileSystem FileSystem { get; private set; }
|
||||||
public static IKeyboard Keyboard { get; private set; }
|
public static IKeyboard Keyboard { get; private set; }
|
||||||
public static IMouse Mouse { get; private set; }
|
public static IMouse Mouse { get; private set; }
|
||||||
|
|
Reference in a new issue