Debug.Log Extensions
Documentation (1.1.9)

◆ Log() [6/10]

static void Sisus.Debugging.Dev.Log ( int  channel1,
int  channel2,
[CanBeNull] object  message,
Object  context = null 
)
static

Logs a message to the console using the given channel.

Channels can be used to selectively suppress messages you don't care about at the moment.

Calls to this method will be fully stripped from release builds.

public void PlaySoundEffect(AudioId audioId)
{
Dev.Log(Channel.Audio, Channel.Sfx, audioId, this);
audioController.Play(audioId);
}
Defines a channel for a message logged to the Console.
Definition: Channel.cs:12
Parameters
channel1First channel to which the message belongs.
channel2Second channel to which the message belongs.
messagestring or object to be converted to string representation for display.
contextObject to which the message applies.