Exemple #1
0
        public void SeeConsoleDump()
        {
            Conout.NewLine();
            Conout.Write("A"); Conout.Write("B");
            Conout.WriteLine();
            Conout.WriteLine("This is on another line");
            "This is on another line".In("general_info").WriteLine();


            "Message without parameters".See();
            "Message with parameter {0}".SeeArgs(1);
            "".SeeArgs(1, 2, 3, 4, 5);

            new { x = 10 }.In("objects").See();
            new { x = 10 }.In("objects").See("Header is shown in 'objects'");
            "Name is: {0}".In("people").SeeArgs("Jack");

            new { a = 1, b = 2 }.See();
            new { a = 1, b = 2 }.See("With header");
            new [] { 1, 2, 3 }.See();
            "Info text".Info();
            "Info text line".Info(5);

            "Warning text".Warning();
            "Warning text line".Warning(5);

            "Error text".Error();
            "Error text line".Error(5);
        }