Skip to content

gmiv/custom-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Unity Usage

using UnityEngine;

public class LoggerTest : MonoBehaviour
{
    void Start()
    {
        // Testing different log types
        CustomLogger.Log("This is an informational message.");
        CustomLogger.Warn("This is a warning message.");
        CustomLogger.Error("This is an error message.");
    }

    void Update()
    {
        // Example: Log a message when the space bar is pressed
        if (Input.GetKeyDown(KeyCode.Space))
        {
            CustomLogger.Log("Space bar pressed!");
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages