C# Class Open.Core.Log

Static log writer.
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode Description
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.

      Private Methods

      Méthode Description
      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

      Method Details

      Clear() public static méthode

      Clears the log.
      public static Clear ( ) : void
      Résultat void

      Debug() public static méthode

      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.
      Résultat void

      Error() public static méthode

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

      Event() public static méthode

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

      Info() public static méthode

      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.
      Résultat void

      LineBreak() public static méthode

      Inserts a line break to the log.
      public static LineBreak ( ) : void
      Résultat void

      NewSection() public static méthode

      Inserts a new section divider.
      public static NewSection ( ) : void
      Résultat void

      Success() public static méthode

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

      Title() public static méthode

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

      Warning() public static méthode

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

      Write() public static méthode

      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.
      Résultat void

      WriteDictionary() public static méthode

      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.
      Résultat void

      WriteIcon() public static méthode

      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.
      Résultat void

      WriteList() public static méthode

      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.
        Résultat IHtmlList

        WriteListSeverity() public static méthode

        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.
          Résultat IHtmlList

          WriteProperties() public static méthode

          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.
          Résultat void

          WriteSeverity() public static méthode

          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.
          Résultat void