Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Delgan/loguru
/ functions
Functions
1,426 in github.com/Delgan/loguru
⨍
Functions
1,426
◇
Types & classes
88
↳
Endpoints
30
Function
test_strict_parsing
(text)
tests/test_ansimarkup_basic.py:96
Function
test_string
(value, monkeypatch)
tests/test_defaults.py:7
Function
test_strip
(text, expected)
tests/test_ansimarkup_basic.py:238
Function
test_strip
(text, expected)
tests/test_ansimarkup_extended.py:231
Function
test_styles
(text, expected)
tests/test_ansimarkup_basic.py:18
Function
test_symbol_in_filename
(tmp_path)
tests/test_filesink_retention.py:195
Function
test_sysconfig_get_path_return_none
(writer, monkeypatch)
tests/test_exceptions_catch.py:191
Function
test_sysconfig_get_path_return_path
(writer, monkeypatch)
tests/test_exceptions_catch.py:178
Function
test_tarfile_module_unavailable
(ext, monkeypatch)
tests/test_filesink_compression.py:360
Function
test_tasks_cancelled_on_remove
(capsys)
tests/test_coroutine_sink.py:201
Function
test_template_preserves_unformatted_message
( writer, message, args, kwargs, expected_template, expected_message )
tests/test_formatting.py:220
Function
test_template_string
(writer)
tests/test_template_strings.py:15
Function
test_template_string_in_catch_message
(writer)
tests/test_template_strings.py:200
Function
test_template_string_is_lazy
(writer)
tests/test_template_strings.py:26
Function
test_template_string_nested
(writer)
tests/test_template_strings.py:106
Function
test_template_string_with_colors
(writer)
tests/test_template_strings.py:119
Function
test_template_string_with_colors_and_args
(writer)
tests/test_template_strings.py:129
Function
test_template_string_with_conversion_spec
(writer)
tests/test_template_strings.py:46
Function
test_template_string_with_format_spec
(writer)
tests/test_template_strings.py:56
Function
test_template_string_with_interpolated_colors
(writer)
tests/test_template_strings.py:188
Function
test_template_string_with_raw
(writer)
tests/test_template_strings.py:142
Function
test_template_string_with_raw_and_args
(writer)
tests/test_template_strings.py:152
Function
test_template_string_with_raw_and_colors
(writer)
tests/test_template_strings.py:165
Function
test_template_string_with_raw_and_colors_and_args
(writer)
tests/test_template_strings.py:175
Function
test_template_string_with_two_consecutive_interpolations
(writer)
tests/test_template_strings.py:66
Function
test_template_string_with_two_consecutive_strings
(writer)
tests/test_template_strings.py:76
Function
test_template_string_without_interpolation
(writer)
tests/test_template_strings.py:96
Function
test_template_string_without_string
(writer)
tests/test_template_strings.py:86
Function
test_template_vs_message_with_formatting
(writer)
tests/test_formatting.py:204
Function
test_thread_info_with_enqueue
(capsys)
tests/test_standard_handler.py:261
Function
test_thread_repr
()
tests/test_recattr.py:64
Function
test_threaded_compression_after_rotation
(tmp_path)
tests/test_filesink_compression.py:147
Function
test_time_rotation
(freeze_time, tmp_path, when, hours)
tests/test_filesink_rotation.py:154
Function
test_time_rotation_after_negative_timezone_changes_backward_aware
( freeze_time, tmp_path, rotation )
tests/test_filesink_rotation.py:529
Function
test_time_rotation_after_negative_timezone_changes_backward_naive
( freeze_time, tmp_path, rotation )
tests/test_filesink_rotation.py:558
Function
test_time_rotation_after_negative_timezone_changes_forward
(freeze_time, tmp_path, rotation)
tests/test_filesink_rotation.py:401
Function
test_time_rotation_after_positive_timezone_changes_backward_aware
( freeze_time, tmp_path, rotation )
tests/test_filesink_rotation.py:462
Function
test_time_rotation_after_positive_timezone_changes_backward_naive
( freeze_time, tmp_path, rotation )
tests/test_filesink_rotation.py:491
Function
test_time_rotation_after_positive_timezone_changes_forward
(freeze_time, tmp_path, rotation)
tests/test_filesink_rotation.py:338
Function
test_time_rotation_dst
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:173
Function
test_time_rotation_multiple_days_at_midnight_utc
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:268
Function
test_time_rotation_reopening_native
(tmp_path_local, delay)
tests/test_filesink_rotation.py:707
Function
test_time_rotation_reopening_xattr_attributeerror
(tmp_path_local, monkeypatch, delay)
tests/test_filesink_rotation.py:763
Function
test_time_rotation_reopening_xattr_oserror
(tmp_path_local, monkeypatch, delay)
tests/test_filesink_rotation.py:799
Function
test_time_rotation_when_negative_timezone_changes_forward
(freeze_time, tmp_path, rotation)
tests/test_filesink_rotation.py:428
Function
test_time_rotation_when_positive_timezone_changes_forward
(freeze_time, tmp_path, rotation)
tests/test_filesink_rotation.py:365
Function
test_time_rotation_when_timezone_changes_backward_rename_file
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:588
Function
test_time_rotation_windows_no_setctime
(tmp_path, monkeypatch)
tests/test_filesink_rotation.py:828
Function
test_time_rotation_windows_setctime_exception
(tmp_path, monkeypatch, exception)
tests/test_filesink_rotation.py:852
Function
test_time_rotation_with_tzinfo_diff_bigger
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:196
Function
test_time_rotation_with_tzinfo_diff_lower
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:219
Function
test_time_rotation_with_tzinfo_utc
(freeze_time, tmp_path)
tests/test_filesink_rotation.py:242
Function
test_tricky_parse
(text, expected)
tests/test_ansimarkup_extended.py:135
Function
test_tricky_strip
(text, expected)
tests/test_ansimarkup_extended.py:251
Function
test_unbalanced_error
(text, strip)
tests/test_ansimarkup_basic.py:185
Function
test_unclosed_error
(text, strip)
tests/test_ansimarkup_basic.py:192
Function
test_unknown_compression
(compression)
tests/test_filesink_compression.py:330
Function
test_unknown_level
(writer)
tests/test_add_option_level.py:33
Function
test_unparsable_retention
(retention)
tests/test_filesink_retention.py:400
Function
test_unparsable_rotation
(rotation)
tests/test_filesink_rotation.py:1162
Function
test_unprintable_but_decorated_multiple_sinks
(capsys)
tests/test_exceptions_catch.py:499
Function
test_unprintable_but_decorated_repr
(writer)
tests/test_exceptions_catch.py:467
Function
test_unprintable_but_decorated_repr_multiple_threads
(writer)
tests/test_exceptions_catch.py:599
Function
test_unprintable_but_decorated_repr_twice
(writer)
tests/test_exceptions_catch.py:538
Function
test_unprintable_but_decorated_repr_with_enqueue
(writer)
tests/test_exceptions_catch.py:518
Function
test_unprintable_but_decorated_repr_without_reraise
(writer)
tests/test_exceptions_catch.py:484
Function
test_unprintable_record
(writer, capsys)
tests/test_add_option_catch.py:73
Function
test_unprintable_with_catch_context_manager
(writer)
tests/test_exceptions_catch.py:555
Function
test_unprintable_with_catch_context_manager_reused
(writer)
tests/test_exceptions_catch.py:571
Function
test_update_with_zone_info
(writer, freeze_time, date, expected_result)
tests/test_datetime.py:263
Function
test_updating_level_no_not_allowed_custom
()
tests/test_levels.py:190
Function
test_updating_level_no_not_allowed_default
()
tests/test_levels.py:183
Function
test_updating_min_level
(writer)
tests/test_levels.py:149
Function
test_user_site_is_none
(writer, monkeypatch)
tests/test_exceptions_catch.py:165
Function
test_user_site_is_path
(writer, monkeypatch)
tests/test_exceptions_catch.py:152
Function
test_using_another_event_loop
(capsys)
tests/test_coroutine_sink.py:90
Function
test_using_logging_function
(writer)
tests/test_interception.py:160
Function
test_using_multiprocessing_directly_if_context_is_none
()
tests/test_add_option_context.py:10
Function
test_using_sink_without_running_loop_none
(capsys)
tests/test_coroutine_sink.py:151
Function
test_using_sink_without_running_loop_not_none
(capsys)
tests/test_coroutine_sink.py:137
Function
test_value_of_gmtoff_is_invalid
(writer, freeze_time, tm_gmtoff)
tests/test_datetime.py:225
Function
test_wait_for_all_messages_enqueued
(capsys)
tests/test_add_option_enqueue.py:233
Function
test_with_sys_getframe
(monkeypatch)
tests/test_get_frame.py:7
Function
test_without_sys_getframe
(monkeypatch)
tests/test_get_frame.py:16
Function
test_wrap_if_winapi_true_and_no_vt_support
(monkeypatch, patched, patch_colorama)
tests/test_colorama.py:329
Function
test_wrap_if_winapi_true_and_old_colorama_version
(monkeypatch, patched, patch_colorama)
tests/test_colorama.py:367
Function
test_wrap_if_winapi_true_and_stream_has_no_fileno
(monkeypatch, patched, patch_colorama)
tests/test_colorama.py:355
Function
test_wrap_if_winapi_true_and_vt_check_fails
(monkeypatch, patched, patch_colorama)
tests/test_colorama.py:342
Function
test_zipfile_module_unavailable
(ext, monkeypatch)
tests/test_filesink_compression.py:368
Function
thread_1
()
tests/test_threading.py:61
Function
thread_2
()
tests/test_threading.py:65
Function
threaded
()
tests/test_threading.py:36
Function
tmp_path
(tmp_path)
tests/conftest.py:47
Function
tmp_path_local
(reset_logger)
tests/test_filesink_rotation.py:18
Function
tz_converter
(record)
tests/test_datetime.py:266
Method
value
(self)
tests/exceptions/source/others/exception_in_property.py:11
Function
w
(message)
tests/conftest.py:169
Method
weekly
Compute the next week occurrence. Parameters ---------- t : datetime.datetime The reference datetime. Re
loguru/_string_parsers.py:48
Function
worker
()
tests/test_multiprocessing.py:563
Function
worker
()
tests/test_locks.py:102
← previous
next →
1,301–1,400 of 1,426, ranked by callers