Table of contents

Enumeration LogMode

LogMode describes the logging modes.

  • Objective-C
  • Swift
typedef NS_ENUM(NSInteger, DSLogMode)
{
    /**
     * Output the log information in the console.
     */
    DSLogModeConsole = 1 << 0,
    /**
     * Output the log information to a log file.
     */
    DSLogModeFile = 1 << 1,
};
public enum LogMode : Int
{
   /**
    * Output the log information in the console.
    */
   case console = 1 << 0
   /**
    * Output the log information to a log file.
    */
   case file = 1 << 1
};

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: