Skip to content

KevinReilhac/PrismLog

Repository files navigation

PrismLog

Log console with channels

image

Authors

Installation

Install PrismLog with Unity Package Manager prismLog

  https://github.com/KevinReilhac/PrismLog.git#upm

Initalization

  • Setup your channels in your project settings and generate your enum.

image

  • Open Open Prism Log Console Shift + Alt + C

image

Usage

PConsole.Log("Default Log"); //Print a log in the default channel
PConsole.LogWarning("UI LogWarning", PrismLogChanel.UI); //Print a warning in the UI channel
PConsole.LogError("AI LogError", PrismLogChanel.AI); //Print an error in the AI channel

//You can also use a logtype as third parameter
PConsole.Log("Default Log", PrismLogChanel.PlayerController, LogType.Warning); //Print a warning in the PlayerController channel

Documentation

Read Documentation