public virtual void Write()

in Samples~/SampleGame/Assets/Scripts/Logger.cs [21:46]


    public virtual void Write(string message, LogType logType = LogType.Log)
    {
        if (message is null)
        {
            throw new ArgumentNullException(nameof(message));
        }

        string formatted = Format(message, logType);
        switch (logType)
        {
            case LogType.Error:
                Debug.LogError(formatted);
                break;
            case LogType.Assert:
                Debug.LogAssertion(formatted);
                break;
            case LogType.Warning:
                Debug.LogWarning(formatted);
                break;
            case LogType.Log:
                Debug.Log(formatted);
                break;
            default:
                throw new ArgumentOutOfRangeException(nameof(logType));
        }
    }