Debug.Log Extensions
Documentation (1.1.9)

◆ Log() [4/10]

static void Sisus.Debugging.Dev.Log ( int  channel1,
int  channel2,
[CanBeNull] string  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.

public IEnumerator PlaySoundEffect(float delay, AudioId audioId)
{
Dev.Log(Channel.Audio, Channel.Sfx, "Playing {audioId} in {delay} seconds.", this);
yield return new WaitForSeconds(delay);
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.
messageMessage to display.
contextObject to which the message applies.