rename logger interface
This commit is contained in:
parent
7e193e493a
commit
e239c5d1ee
|
@ -3,7 +3,7 @@ using System.Text;
|
|||
|
||||
namespace Blarg.GameFramework
|
||||
{
|
||||
public class SDLLogger : IPlatformLogger
|
||||
public class SDLLogger : ILogger
|
||||
{
|
||||
StringBuilder _sb;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace Blarg.GameFramework
|
|||
get { return PlatformType.Desktop; }
|
||||
}
|
||||
|
||||
public override IPlatformLogger Logger
|
||||
public override ILogger Logger
|
||||
{
|
||||
get { return _logger; }
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Blarg.GameFramework
|
|||
public abstract PlatformOS OperatingSystem { get; }
|
||||
public abstract PlatformType Type { get; }
|
||||
|
||||
public abstract IPlatformLogger Logger { get; }
|
||||
public abstract ILogger Logger { get; }
|
||||
public abstract IFileSystem FileSystem { get; }
|
||||
public abstract IKeyboard Keyboard { get; }
|
||||
public abstract IMouse Mouse { get; }
|
||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
|||
|
||||
namespace Blarg.GameFramework
|
||||
{
|
||||
public interface IPlatformLogger
|
||||
public interface ILogger
|
||||
{
|
||||
void Info(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; }
|
||||
PlatformType Type { get; }
|
||||
|
||||
IPlatformLogger Logger { get; }
|
||||
ILogger Logger { get; }
|
||||
IFileSystem FileSystem { get; }
|
||||
IKeyboard Keyboard { get; }
|
||||
IMouse Mouse { get; }
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace Blarg.GameFramework
|
|||
public static PlatformType Type { 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 IKeyboard Keyboard { get; private set; }
|
||||
public static IMouse Mouse { get; private set; }
|
||||
|
|
Reference in a new issue