diff options
author | ClxS <slxxls92@gmail.com> | 2016-03-06 15:26:04 +0000 |
---|---|---|
committer | ClxS <slxxls92@gmail.com> | 2016-03-06 15:26:04 +0000 |
commit | ff96bba617907a132795abc9f712ecbf7f79365a (patch) | |
tree | a9cdf4ff982547733a1d584e547044c78db1e565 /StardewModdingAPI/Inheritance/SObject.cs | |
parent | b417604466da840c1f0a4e38aeb0f63ce28d2cdf (diff) | |
parent | 0e24d862a96da0a3fe6e7f74ed381fc6f05541a0 (diff) | |
download | SMAPI-ff96bba617907a132795abc9f712ecbf7f79365a.tar.gz SMAPI-ff96bba617907a132795abc9f712ecbf7f79365a.tar.bz2 SMAPI-ff96bba617907a132795abc9f712ecbf7f79365a.zip |
Merge pull request #4 from Jtfinlay/release
Logging refactor
Diffstat (limited to 'StardewModdingAPI/Inheritance/SObject.cs')
-rw-r--r-- | StardewModdingAPI/Inheritance/SObject.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StardewModdingAPI/Inheritance/SObject.cs b/StardewModdingAPI/Inheritance/SObject.cs index 25cdb26e..28254c24 100644 --- a/StardewModdingAPI/Inheritance/SObject.cs +++ b/StardewModdingAPI/Inheritance/SObject.cs @@ -78,7 +78,7 @@ namespace StardewModdingAPI.Inheritance public override void draw(SpriteBatch spriteBatch, int xNonTile, int yNonTile, float layerDepth, float alpha = 1) { - Program.LogInfo("THIS DRAW FUNCTION IS NOT IMPLEMENTED I WANT TO KNOW WHERE IT IS CALLED"); + Log.Debug("THIS DRAW FUNCTION IS NOT IMPLEMENTED I WANT TO KNOW WHERE IT IS CALLED"); return; try { @@ -105,7 +105,7 @@ namespace StardewModdingAPI.Inheritance } catch (Exception ex) { - Program.LogError(ex.ToString()); + Log.Error(ex.ToString()); Console.ReadKey(); } } @@ -249,7 +249,7 @@ namespace StardewModdingAPI.Inheritance s.boundingBox = new Rectangle(x / Game1.tileSize * Game1.tileSize, y / Game1.tileSize * Game1.tileSize, this.boundingBox.Width, this.boundingBox.Height); location.objects.Add(key, s); - Program.LogInfo("{0} - {1}", this.GetHashCode(), s.GetHashCode()); + Log.Verbose("{0} - {1}", this.GetHashCode(), s.GetHashCode()); return true; } |