C# 클래스 Open.Core.Log

Static log writer.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the log.

Debug ( object message, Icons icon ) : void

Writes a debug message to the log.

Error ( object message ) : void

Writes an error message to the log.

Event ( object message ) : void

Writes an event message to the log.

Info ( object message, Icons icon ) : void

Writes a informational message to the log.

LineBreak ( ) : void

Inserts a line break to the log.

NewSection ( ) : void

Inserts a new section divider.

Success ( object message ) : void

Writes a success message to the log.

Title ( string message ) : void

Writes a informational message to the log (as a bold title).

Warning ( object message ) : void

Writes a warning to the log.

Write ( object message, string backgroundColor ) : void

Writes a message to the log.

WriteDictionary ( object instance, string title ) : void

Writes out the keys values for the given Dictionary.

WriteIcon ( object message, Icons icon, string backgroundColor ) : void

Writes a message to the log (prepended with an icon).

WriteList ( string title, string backgroundColor ) : IHtmlList

Writes an

    to the log.

    WriteListSeverity ( string title, LogSeverity severity ) : IHtmlList

    Writes an

      to the log.

      WriteProperties ( object instance, string title ) : void

      Writes out the property values for the given object.

      WriteSeverity ( object message, LogSeverity severity ) : void

      Writes a message to the log.

      비공개 메소드들

      메소드 설명
      Debug ( object message ) : void
      Info ( object message ) : void
      Write ( object message ) : void
      WriteDictionary ( object instance ) : void
      WriteIcon ( object message, Icons icon ) : void
      WriteList ( ) : IHtmlList
      WriteList ( string title ) : IHtmlList
      WriteProperties ( object instance ) : void

      메소드 상세

      Clear() 공개 정적인 메소드

      Clears the log.
      public static Clear ( ) : void
      리턴 void

      Debug() 공개 정적인 메소드

      Writes a debug message to the log.
      public static Debug ( object message, Icons icon ) : void
      message object The messge to write (HTML).
      icon Icons An icon.
      리턴 void

      Error() 공개 정적인 메소드

      Writes an error message to the log.
      public static Error ( object message ) : void
      message object The messge to write (HTML).
      리턴 void

      Event() 공개 정적인 메소드

      Writes an event message to the log.
      public static Event ( object message ) : void
      message object The messge to write (HTML).
      리턴 void

      Info() 공개 정적인 메소드

      Writes a informational message to the log.
      public static Info ( object message, Icons icon ) : void
      message object The messge to write (HTML).
      icon Icons An icon.
      리턴 void

      LineBreak() 공개 정적인 메소드

      Inserts a line break to the log.
      public static LineBreak ( ) : void
      리턴 void

      NewSection() 공개 정적인 메소드

      Inserts a new section divider.
      public static NewSection ( ) : void
      리턴 void

      Success() 공개 정적인 메소드

      Writes a success message to the log.
      public static Success ( object message ) : void
      message object The messge to write (HTML).
      리턴 void

      Title() 공개 정적인 메소드

      Writes a informational message to the log (as a bold title).
      public static Title ( string message ) : void
      message string The messge to write (HTML).
      리턴 void

      Warning() 공개 정적인 메소드

      Writes a warning to the log.
      public static Warning ( object message ) : void
      message object The messge to write (HTML).
      리턴 void

      Write() 공개 정적인 메소드

      Writes a message to the log.
      public static Write ( object message, string backgroundColor ) : void
      message object The message to write.
      backgroundColor string The background color to apply to the log entry.
      리턴 void

      WriteDictionary() 공개 정적인 메소드

      Writes out the keys values for the given Dictionary.
      public static WriteDictionary ( object instance, string title ) : void
      instance object The Dictionary to write.
      title string The title to put above the object.
      리턴 void

      WriteIcon() 공개 정적인 메소드

      Writes a message to the log (prepended with an icon).
      public static WriteIcon ( object message, Icons icon, string backgroundColor ) : void
      message object The message to write.
      icon Icons An icon.
      backgroundColor string The background color to apply to the log entry.
      리턴 void

      WriteList() 공개 정적인 메소드

      Writes an
        to the log.
        public static WriteList ( string title, string backgroundColor ) : IHtmlList
        title string The title of the list.
        backgroundColor string The background color to apply to the log entry.
        리턴 IHtmlList

        WriteListSeverity() 공개 정적인 메소드

        Writes an
          to the log.
          public static WriteListSeverity ( string title, LogSeverity severity ) : IHtmlList
          title string The title of the list.
          severity LogSeverity The severity of the message.
          리턴 IHtmlList

          WriteProperties() 공개 정적인 메소드

          Writes out the property values for the given object.
          public static WriteProperties ( object instance, string title ) : void
          instance object The object to write.
          title string The title to put above the object.
          리턴 void

          WriteSeverity() 공개 정적인 메소드

          Writes a message to the log.
          public static WriteSeverity ( object message, LogSeverity severity ) : void
          message object The message to write (HTML).
          severity LogSeverity The severity of the message.
          리턴 void