Write() 공개 메소드

Write a message to the log.
public Write ( LogMessageLevel level, bool maskDebug, string message ) : void
level LogMessageLevel Importance of this logged message.
maskDebug bool If true, debug output will not be written.
message string Message to write, which can include string formatting tokens.
리턴 void
예제 #1
0
        public static void Log(Log log)
        {
            log.Write("CPU Identifier & Features");
            log.Write("-------------------------");
            log.Write(cpuIdentifier);

            log.Write(" *     SSE1: {0}", IsSupported(CPUFeature.SSE1));
            log.Write(" *     SSE2: {0}", IsSupported(CPUFeature.SSE2));
            log.Write(" *     SSE3: {0}", IsSupported(CPUFeature.SSE3));
            log.Write(" *    SSSE3: {0}", IsSupported(CPUFeature.SSE41));
            log.Write(" *    SSSE3: {0}", IsSupported(CPUFeature.SSE42));
            log.Write(" *    SSSE3: {0}", IsSupported(CPUFeature.SSE4A));
            log.Write(" *    SSSE3: {0}", IsSupported(CPUFeature.SSSE3));
            log.Write("-------------------------");
        }