diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-11-11 12:07:57 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-11-11 12:07:57 -0500 |
| commit | 0e4485d2c6025cd08ed908be31d1e6c22436f2f3 (patch) | |
| tree | 20b728bfd73e4238a68b6c061665d91b0e33f43f /python | |
| parent | b2f8c2f482fdb7867a100e693e63d096e39094ad (diff) | |
fix log API param types to be the appropriate enum instead of int
Diffstat (limited to 'python')
| -rw-r--r-- | python/log.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/log.py b/python/log.py index aa4e2606..d39b15d7 100644 --- a/python/log.py +++ b/python/log.py @@ -140,7 +140,7 @@ def log_to_stdout(min_level=LogLevel.InfoLog): """ ``log_to_stdout`` redirects minimum log level to standard out. - :param int min_level: minimum level to log to + :param enums.LogLevel log_level: minimum level to log to :rtype: None :Example: @@ -157,7 +157,7 @@ def log_to_stderr(min_level): """ ``log_to_stderr`` redirects minimum log level to standard error. - :param int min_level: minimum level to log to + :param enums.LogLevel min_level: minimum level to log to :rtype: None """ core.BNLogToStderr(min_level) @@ -167,7 +167,7 @@ def log_to_file(min_level, path, append = False): """ ``log_to_file`` redirects minimum log level to a file named ``path``, optionally appending rather than overwriting. - :param int min_level: minimum level to log to + :param enums.Log_Level min_level: minimum level to log to :param str path: path to log to :param bool append: optional flag for specifying appending. True = append, False = overwrite. :rtype: None |
