Exemplo n.º 1
0
        public static void Print(TmPrintLevel level, object message)
        {
            var messageString = message + "\n";

            switch (level)
            {
            case TmPrintLevel.Debug:
                Native.DPrintF(messageString);
                break;

            case TmPrintLevel.Message:
                Native.MPrintF(messageString);
                break;

            case TmPrintLevel.Error:
                Native.EPrintF(messageString);
                break;
            }
        }