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!");
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
gmiv/custom-logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published