uiautomation
|
静的公開メンバ関数 | |
None | SetLogFile (str path) |
None | Write (Any log, int consoleColor=ConsoleColor.Default, bool writeToFile=True, bool printToStdout=True, str logFile=None, int printTruncateLen=0) |
None | WriteLine (Any log, int consoleColor=-1, bool writeToFile=True, bool printToStdout=True, str logFile=None) |
None | ColorfullyWrite (str log, int consoleColor=-1, bool writeToFile=True, bool printToStdout=True, str logFile=None) |
None | ColorfullyWriteLine (str log, int consoleColor=-1, bool writeToFile=True, bool printToStdout=True, str logFile=None) |
None | Log (Any log='', int consoleColor=-1, bool writeToFile=True, bool printToStdout=True, str logFile=None) |
None | ColorfullyLog (str log='', int consoleColor=-1, bool writeToFile=True, bool printToStdout=True, str logFile=None) |
None | DeleteLog () |
静的公開変数類 | |
string | FileName = '@AutomationLog.txt' |
dictionary | ColorNames |
Logger for print and log. Support for printing log with different colors on console.
|
static |
log: any type. consoleColor: int, a value in class ConsoleColor, such as ConsoleColor.DarkGreen. writeToFile: bool. printToStdout: bool. logFile: str, log file path. ColorfullyLog('Hello <Color=Green>Green</Color> !!!'), color name must be in Logger.ColorNames
|
static |
log: str. consoleColor: int, a value in class `ConsoleColor`, such as `ConsoleColor.DarkGreen`. writeToFile: bool. printToStdout: bool. logFile: str, log file path. ColorfullyWrite('Hello <Color=Green>Green</Color> !!!'), color name must be in Logger.ColorNames.
|
static |
log: str. consoleColor: int, a value in class `ConsoleColor`, such as `ConsoleColor.DarkGreen`. writeToFile: bool. printToStdout: bool. logFile: str, log file path. ColorfullyWriteLine('Hello <Color=Green>Green</Color> !!!'), color name must be in Logger.ColorNames.
|
static |
Delete log file.
|
static |
log: any type. consoleColor: int, a value in class `ConsoleColor`, such as `ConsoleColor.DarkGreen`. writeToFile: bool. printToStdout: bool. logFile: str, log file path.
|
static |
|
static |
log: any type. consoleColor: int, a value in class `ConsoleColor`, such as `ConsoleColor.DarkGreen`. writeToFile: bool. printToStdout: bool. logFile: str, log file path. printTruncateLen: int, if <= 0, log is not truncated when print.
|
static |
log: any type. consoleColor: int, a value in class `ConsoleColor`, such as `ConsoleColor.DarkGreen`. writeToFile: bool. printToStdout: bool. logFile: str, log file path.
|
static |
|
static |