Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[RELEASE] Slog - Simple Log 2.0

Discussion in 'Assets and Asset Store' started by metagrue, May 2, 2014.

  1. metagrue

    metagrue

    Joined:
    Jan 28, 2013
    Posts:
    46
    What is Slog?

    Slog – Simple Logger is a simple, efficient and lightweight script extension for the Unity Logger. The goal of the script is to allow the developer control over which behaviors can send log messages. Usage is so simple – you’ll wonder why this wasn’t built into Unity. You still call the same Log functions, you just call them differently.

    Features

    • Easy script-based access to Logger.
    • Per-behavior Log controls.
    • Thoroughly documented.
    • Designed with KISS principles.
    • Light-weight, portable and versatile code which ideal for use in multiple projects.
    • Written by a Gamer, for Gamers.

    Usage

    1. Extend your behaviors from SlogBehaviour.
    2. Call inherited functions like Log() and LogWarningAlways().

    Example

    Code (csharp):
    1.  
    2. public class SlogDemoBehaviour : SlogBehaviour {
    3.   private void Start() {
    4.     LogAlways(gameObject.name + "started. Because we are using the LogAlways channel, this comment will always be shown.");
    5.   }
    6.   private void Update() {
    7.     Log(gameObject.name + "has an annoying update comment that we probably only need some of the time.");
    8.   }
    9. }
    10.  
    Resources

    Slog on the Web
    Dedicated Support Forum for Slog
    Purchase Slog on the Unity Store
    Slog FAQ
    User Manual
    API Documentation

    Contact

    I have set up a Dedicated Support Forum. Alternatively, you can leave a post on this thread or contact me via PM. Also you can email me at contact@rancid1.com.

    Thanks for reading. :)
     
  2. metagrue

    metagrue

    Joined:
    Jan 28, 2013
    Posts:
    46
    I just wanted to add - with the new 2.0 Update I have reduced the price of the plugin to $5 USD. This price change is permanent.
     
  3. metagrue

    metagrue

    Joined:
    Jan 28, 2013
    Posts:
    46
    I wonder what it would take to get more interest in a plugin of this sort. :confused: I know it seems innocuous and basic - but I'm so fond of it that I've found I'm using it in all of my projects now.