Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Big Secret Sale: [Release] NLog Logger - Logger can control log level by class

Discussion in 'Assets and Asset Store' started by aidesigner, Sep 12, 2017.

  1. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Introducing NLog 1.0 (Asset store product):


    -SALE PRICE 15% OFF (Previously $30)...
    -Every AiUnity product rating has been five stars.
    -Please use dedicated NLog Forum to keep this thread clean.

    Logging should be a developers biggest ally.


    Highlights:

    • Control log levels by class or namespace.
    • Customize log format and content.
    • Debug in editor, remotely, or inside game.
    • APIs for 5 log levels with helpful overloads.
    • Compile out logs by level or platform for performance
    • AiUnity website/forum, video tutorials, manuals, tool-tips, API reference, and interviews.

    NLog feature spotlight: Control log levels by class, namespace, or logger name:

    This means you can turn up the debug level on just the namespaces or classes under development. As a project grows the logs inevitably get cluttered as you begin to see your life scroll bye in the debug console. By listening to the class under development you can again pay attention to your logs, while you configure other classes to report errors and warnings.

    *Sales have started to ramp up:) Please rate product as this makes all the difference.



    Overview:

    NLog asset store product is a comprehensive Unity logging framework based upon the extremely popular open source project .NET NLog project. From the provided editor GUI you have dynamically control of logging levels, platforms, targets, content, and format. With NLog you can route your logging statements based upon class, namespace, or custom name to various targets. The available targets include Unity Console, In-Game Console, Remote Log Viewer, Log File, Email, or create your own. The In-Game Console allows you to debug inside your game while the Remote Log Viewer will have you debugging remotely in minutes.

    Each target has a layout property that controls message content and format. Select from the dropdown variable list to inject content like logging level, calling method, and timestamp into log messages. Alternatively use Unity Rich Text formatting to color code messages from a particular class or namespace. The logging level of each logger can also be controlled, allowing you to increase logging verbosity of the namespace(s) under development.

    With NLog you can improve performance by compiling out your logging statements on unselected platforms or logging levels. A log tester is built into to the GUI to help you verify and tweak your configurations. The available logging levels are Trace, Debug, Info, Warning, Error, Fatal, and Assert. NLog extensibility makes it easy to create new targets and layout variables. Automatically instantiate NLog in new scripts using the AiUnity flagship product ScriptBuilder (Automatically generate any Unity script).

    Features:
    -Complete logging control with a comprehensive NLog Editor GUI.
    -Extended log levels are Trace, Debug, Info, Warning, Error, Fatal, and Assert.
    -Logging API overloads accept formatted arguments to eliminate string.format().
    -Control what messaging level is enable for each platform independently.
    -Compile out logging statements on unselected platforms and levels.
    -Create rules to direct log messages to various targets on a class, namespace, or platform basis.
    -Use target properties to customize message content and destination features.
    -The Remote Log Viewer target can send log messages over UDP to a remote viewer.
    -The ugui base In-Game console target enables gameplay debug.
    -Target wrappers enables advanced features like multiple targets.
    -Add message content by using custom text or selectable internal variables.
    -Format messages with Unity Rich Text.
    -Use the comprehensive GUI to configure NLog or the underlying XML.
    -Verify configuration with build in tester.
    -Drop down menus give you quick access to targets and content variables.
    -GUI themed for light and dark skin.
    -Retain the ability to navigate to Source code and GameObject with double clicks.
    -Dynamically switch between NLog source code and DLLs.
    -Extend NLog with custom targets, wrappers and layout variables.
    -Timeless asset in that logging will always be a fundamental debug tool.
    -Works with AiUnity products ScriptBuilder, CLog, and MultipleTags.
    -Dedicated website and forum available.
    -Tested on .NET 3.5 and 4.6.

    Video tutorial playlist:



    AiUnity creates powerful Unity products that impact the common developer:
    ScriptBuilder
    - Automatically generate any script (i.e. Type safe tag access script or animator controller access script).
    MultipleTags - Multiple tags on gameObjects using only the existing Unity tag system.
    CLog Logger - A flexible logger that enables you to dynamically choose a custom or included logger for each platform.

    Thanks,
    aidesigner
     
    Last edited: Aug 26, 2018
  2. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    NLog screenshots:

    Shows NLog GUI along with example console messages from the Test Logger::



    Demonstrates the ability to choose logging target(s) or create a custom target:



    Using NLog in code:



    NLog GameConsole target:



    NLog RemoteViewer target:

     
    Last edited: Sep 13, 2017
  3. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    NLog feature spotlight: Control log levels by class, namespace, or logger name:

    This means you can turn up the debug level on just the namespaces or classes under development. As a project grows the logs inevitably get cluttered as you begin to see your life scroll bye in the debug console:rolleyes:. By listening to the class under development you can again pay attention to your logs, while you configure other classes to report errors and warnings.
     
    Last edited: Sep 22, 2017
  4. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    NLog feature spotlight: Compile out log statements by platform or log level:

    Logging statements at a specific log level(s) (i.e. Debug, Trace, or All) can degrade performance and be unwanted on certain platforms. Based on the user configuration in the NLog GUI, preprocessor defines are set to indicate the log levels enabled on a given platform. NLog contains C# conditional attribute on all the logging API method calls. The end result is that unwanted logging statements are literally and completely compiled out of the appropriate builds. This can be adjusted at any point by changing a single setting in the NLog GUI.
     
    Last edited: Sep 25, 2017
  5. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    NLog feature spotlight: An insane level of documentation, tutorials, and support is available.

    At the moment there exists detailed screenshots, illustrated video tutorials, dedicated forums, chat service, dedicated website, API references, FAQ webpage, Unity forum thread, quick starts, editor tooltips/links, and PDF manuals. In addition I test all AiUnity products for at least 6 months before release. Perhaps it works to well as I am not receiving questions.

    *Sales have started to ramp up:) Please rate this product as it makes all the difference.
     
    Last edited: Sep 22, 2017
  6. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    The AiUnity asset store products that can really help the common developer:

    ScriptBuilder -
    Automatically generate any script (i.e. Type safe Tag or AnimatorController access script).
    NLog Logger - A powerful logger that can control log level per class, adjust content, and compile out log statements.
    MultipleTags - Multiple tags on gameObjects using only the existing Unity tag system.
    CLog Logger - A flexible logger that enables you to dynamically choose a custom or included logger for each platform.
     
  7. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Just reduced price again for limited time. Many downloads but only 1 review. Please review to give this product a long health life.
     
  8. noname77

    noname77

    Joined:
    Oct 6, 2015
    Posts:
    8
    Hi, I was wondering which version of NLog is your plugin based on and whether it works with .NET subset? Would I be able to use most of the original project's functionality and classes?

    Thanks,
    nnm77
     
  9. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Well the initial snapshot of NLog was taken from version 3.2.0 (time flies). I would occasionally merge in changes when relevant. I made a big effort to optimize NLog for Unity, which removed all kinds of messy stuff like SilverLight, threading, and portable framework. I made sure to stay true to NLog and keep everything that made since in the Unity world. Yes it is NLog in every way that is important and it works with .NET subset. For example the UnityConsole simply inherits from NLog Target class and performs writes with UnityEngine.Debug.Log().

    I consider Unity NLog an enhancement due to the NLog Unity GUI. The GUI will maintain the familar NLog.xml file for you and let you add targets, configure layout, and well everything. It also has a XML viewer to allow direct XML editing or viewing. Just take a look at the Videos and manual and I think you will be sold.
     
  10. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    *Please review NLog* - A lot of downloads with no reviews.

    NLog downloads has been pretty strong, yet I have hardly any questions or reviews. I believe the lack of questions is a positive sign for the product, but please considering making a quick NLog review (Vital marketing). The rating will cause even more people to try the product, which will make it a better product for everyone...
     
  11. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Secret price cut just became available on AiUnity products (15% to 33% OFF).
     
  12. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Verified on Unity 2017.x, 2018.1, and 2018.2.
     
  13. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    You can now find a live interview, where I discuss all AiUnity products with Messy Coder.
     
  14. aidesigner

    aidesigner

    Joined:
    May 2, 2012
    Posts:
    121
    Sale has sharply increased sales, but please help out with a review.
     
  15. PepperATM

    PepperATM

    Joined:
    Sep 28, 2020
    Posts:
    5
    Any way to get this since it's been delisted?