Enumeration LogMode
LogMode
describes the logging modes.
- Android
- Objective-C
- Swift
public @interface EnumLogMode { public static final int LGM_CONSOLE = 1; public static final int LGM_FILE = 2; }
typedef NS_ENUM(NSInteger, DSLogMode) { /** * Output the log information in the console. */ DSLogModeConsole = 1, /** * Output the log information to a log file. */ DSLogModeFile = 2, };
public enum LogMode : Int { /** * Output the log information in the console. */ console = 0x01 /** * Output the log information to a log file. */ file = 0x02 };