Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SpriteOvO/spdlog-rs
/ functions
Functions
724 in github.com/SpriteOvO/spdlog-rs
⨍
Functions
724
◇
Types & classes
188
↓ 3 callers
Method
build_arc
(self, _: Infallible)
spdlog/src/sink/dedup_sink.rs:312
↓ 3 callers
Method
build_inner
(&mut self, preset_level: Option<LevelFilter>)
spdlog/src/logger.rs:665
↓ 3 callers
Method
call_internal
(&self, from: impl AsRef<str>, err: Error)
spdlog/src/error.rs:365
↓ 3 callers
Method
clear
(&self)
spdlog/src/test_utils/common.rs:65
↓ 3 callers
Method
destroy
(&self)
spdlog/src/thread_pool.rs:107
↓ 3 callers
Method
eol
(&mut self, value: bool)
spdlog/src/formatter/full_formatter.rs:267
↓ 3 callers
Function
fmt
(pattern: impl Pattern + Clone + 'static)
spdlog/tests/pattern.rs:192
↓ 3 callers
Function
from_str_inner
(var: &str)
spdlog/src/env_level.rs:75
↓ 3 callers
Function
from_usize
()
spdlog/src/level.rs:445
↓ 3 callers
Function
into_or_error
(result: Result<TokenStream2, Error>)
spdlog-macros/src/lib.rs:60
↓ 3 callers
Function
iter
()
spdlog/src/level.rs:526
↓ 3 callers
Method
level_filter
(&self)
spdlog/src/sink/async_sink/async_pool_sink.rs:101
↓ 3 callers
Method
log_record
(&self, record: &Record)
spdlog/src/sink/dedup_sink.rs:143
↓ 3 callers
Function
logger
(name: &str)
spdlog/benches/spdlog-rs/kv.rs:17
↓ 3 callers
Method
logger
(&self)
spdlog/src/log_crate_proxy.rs:78
↓ 3 callers
Function
logger_level_inner
(env_level: &EnvLevel, kind: LoggerKind)
spdlog/src/env_level.rs:134
↓ 3 callers
Method
month_name
(&mut self)
spdlog/src/formatter/local_time_cacher.rs:193
↓ 3 callers
Function
pkg_label
(pkg)
spdlog/benches/results/chart-gen.py:100
↓ 3 callers
Function
push_err
()
spdlog-internal/src/pattern_parser/error.rs:143
↓ 3 callers
Function
run
()
spdlog/tests/broken-stdio.rs:17
↓ 3 callers
Method
set_flush_level_filter
Sets a flush level filter. When logging a new record, flush the buffer if this filter condition returns `true`. This automatic flushing policy can w
spdlog/src/logger.rs:288
↓ 3 callers
Method
set_level_filter
Sets the log level filter. # Examples See [`Logger::should_log`].
spdlog/src/logger.rs:303
↓ 3 callers
Method
should_log
(&self, level: Level)
spdlog/src/logger.rs:225
↓ 3 callers
Method
skip_duration
(self, duration: Duration)
spdlog/src/sink/dedup_sink.rs:254
↓ 3 callers
Method
std_stream
(self, std_stream: StdStream)
spdlog/src/sink/std_stream_sink.rs:310
↓ 3 callers
Method
stderr
(self)
spdlog/src/sink/std_stream_sink.rs:302
↓ 3 callers
Method
test
(&self, level: Level)
spdlog/src/level.rs:255
↓ 3 callers
Method
weekday_name
(&mut self)
spdlog/src/formatter/local_time_cacher.rs:162
↓ 3 callers
Method
write
(&mut self, buf: &[u8])
spdlog/src/sink/std_stream_sink.rs:97
↓ 3 callers
Method
write_expect
(&self)
spdlog/src/sync.rs:45
↓ 3 callers
Method
write_if
( &mut self, conf: bool, dest: &mut StringBuf, f: impl FnOnce(&mut StringBuf)
spdlog/src/formatter/full_formatter.rs:312
↓ 2 callers
Method
__test_const
(&self, level: Level)
spdlog/src/level.rs:262
↓ 2 callers
Method
am_pm_str
(&mut self)
spdlog/src/formatter/local_time_cacher.rs:249
↓ 2 callers
Method
as_optional
(&self)
spdlog-macros/src/normalize_forward.rs:62
↓ 2 callers
Method
as_ref
(&self)
spdlog/src/record.rs:150
↓ 2 callers
Method
as_str
(&self)
spdlog/src/level.rs:128
↓ 2 callers
Method
assign_task
(&self, task: Task)
spdlog/src/sink/async_sink/async_pool_sink.rs:90
↓ 2 callers
Function
bench
( policy: OverflowPolicy, file_name: &str, message_count: usize, queue_size: usize, thread
spdlog/benches/spdlog-rs/cmp-cpp-async.rs:20
↓ 2 callers
Function
bench_any
(bencher: &mut Bencher, mode: Mode, sink: Arc<dyn Sink>)
spdlog/benches/spdlog-rs/spdlog-rs.rs:71
↓ 2 callers
Function
bench_file_inner
(bencher: &mut Bencher, mode: Mode)
spdlog/benches/spdlog-rs/spdlog-rs.rs:82
↓ 2 callers
Function
bench_full_pattern
(bencher: &mut Bencher, pattern: impl Pattern + Clone + 'static)
spdlog/benches/spdlog-rs/pattern.rs:90
↓ 2 callers
Function
bench_rotating_inner
(bencher: &mut Bencher, rotation_policy: RotationPolicy)
spdlog/benches/spdlog-rs/spdlog-rs.rs:91
↓ 2 callers
Function
bench_threaded_logging
(threads: usize, iters: usize)
spdlog/benches/spdlog-rs/cmp-cpp.rs:33
↓ 2 callers
Method
build
Builds a [`ThreadPool`].
spdlog/src/thread_pool.rs:185
↓ 2 callers
Method
build
Builds a [`JournaldSink`].
spdlog/src/sink/journald_sink.rs:206
↓ 2 callers
Method
build
Builds a [`WinDebugSink`].
spdlog/src/sink/win_debug_sink.rs:125
↓ 2 callers
Method
build
Constructs a `AndroidSink`.
spdlog/src/sink/android_sink.rs:168
↓ 2 callers
Method
build
(self, _: Infallible)
spdlog/src/sink/std_stream_sink.rs:398
↓ 2 callers
Method
build_arc
Builds a `Arc<ThreadPool>`. This is a shorthand method for `.build().map(Arc::new)`.
spdlog/src/thread_pool.rs:218
↓ 2 callers
Method
build_with_initial_time
(self, override_now: Option<SystemTime>)
spdlog/src/sink/rotating_file_sink.rs:895
↓ 2 callers
Method
capacity
(&mut self, capacity: NonZeroUsize)
spdlog/src/thread_pool.rs:147
↓ 2 callers
Function
check_logger_name
(name: impl AsRef<str>)
spdlog/src/logger.rs:12
↓ 2 callers
Method
clone_backend
(&self)
spdlog/src/sink/async_sink/async_pool_sink.rs:95
↓ 2 callers
Method
clone_lossy
(&self)
spdlog/src/logger.rs:471
↓ 2 callers
Method
clone_string
(&self)
spdlog/src/test_utils/common.rs:144
↓ 2 callers
Method
clone_target
(&self)
spdlog/src/sink/write_sink.rs:93
↓ 2 callers
Function
default_logger_ref
()
spdlog/src/lib.rs:412
↓ 2 callers
Function
exit_as_files_mismatch
()
spdlog/benches/common/mod.rs:112
↓ 2 callers
Function
extract_rust_result
(pkgs, bench_name)
spdlog/benches/results/chart-gen.py:87
↓ 2 callers
Method
flush
Flushes sinks explicitly. It calls [`Sink::flush`] method internally for each sink in sequence. Users can call this function to flush explicitly and
spdlog/src/logger.rs:254
↓ 2 callers
Method
flush
(&self)
spdlog/src/sink/rotating_file_sink.rs:275
↓ 2 callers
Method
flush
(&self)
spdlog/src/sink/file_sink.rs:112
↓ 2 callers
Method
flush_sinks
(&self)
spdlog/src/logger.rs:508
↓ 2 callers
Method
flush_sinks
(&self)
spdlog/src/sink/dedup_sink.rs:157
↓ 2 callers
Method
flush_sinks_with
(&self, with: impl Fn(&dyn Sink) -> Result<()>)
spdlog/src/logger.rs:496
↓ 2 callers
Method
flush_with
(&self, with: fn(&dyn Sink) -> Result<()>)
spdlog/src/sink/dedup_sink.rs:150
↓ 2 callers
Method
flush_with
(&self, with: impl Fn(&dyn Sink) -> Result<()>)
spdlog/src/sink/async_sink/async_pool_sink.rs:272
↓ 2 callers
Method
fork_with_name
Forks a separates new logger with a new name. This function creates a new logger object that inherits logger properties from `Arc<Self>` and rename t
spdlog/src/logger.rs:459
↓ 2 callers
Method
formatter
(self, formatter: F)
spdlog/src/sink/rotating_file_sink.rs:825
↓ 2 callers
Function
get_current_tid
()
spdlog/src/record.rs:268
↓ 2 callers
Method
handle_error
(&self, err: Error)
spdlog/src/logger.rs:512
↓ 2 callers
Method
handle_error
(&self, err: Error)
spdlog/src/sink/async_sink/async_pool_sink.rs:288
↓ 2 callers
Function
handler
()
spdlog/src/lib.rs:759
↓ 2 callers
Method
hour12_str
(&mut self)
spdlog/src/formatter/local_time_cacher.rs:241
↓ 2 callers
Function
is_none_or
TODO: Remove this when MSRV reaches 1.82.
spdlog/src/utils/mod.rs:60
↓ 2 callers
Method
level_filter
(&self)
spdlog/benches/spdlog-rs/pattern.rs:62
↓ 2 callers
Method
lock_inner
if `self.inner.file` is `None`, try to reopen the file.
spdlog/src/sink/rotating_file_sink.rs:442
↓ 2 callers
Method
log
Passes a log into sinks in sequence. It calls [`Sink::log`] method internally for each sink in sequence. # Note Users usually do not use this funct
spdlog/src/logger.rs:237
↓ 2 callers
Method
log_skipping_message
(&self, state: &mut DedupSinkState)
spdlog/src/sink/dedup_sink.rs:128
↓ 2 callers
Method
log_write
( &self, record: &Record, string_buf: &StringBuf, ctx: &FormatterContext<'_>,
spdlog/src/sink/std_stream_sink.rs:236
↓ 2 callers
Function
logger_level
(kind: LoggerKind)
spdlog/src/env_level.rs:123
↓ 2 callers
Method
module_path
(&self)
spdlog/src/source_location.rs:46
↓ 2 callers
Function
open_file
(path: P, truncate: bool)
spdlog/src/utils/mod.rs:13
↓ 2 callers
Function
opt_to_num
(opt: Option<T>)
spdlog/src/formatter/json_formatter.rs:17
↓ 2 callers
Method
overflow_policy
(mut self, overflow_policy: OverflowPolicy)
spdlog/src/sink/async_sink/async_pool_sink.rs:183
↓ 2 callers
Method
parse
(template: &'a str)
spdlog-internal/src/pattern_parser/parse.rs:11
↓ 2 callers
Method
placeholder
(&self)
spdlog-internal/src/pattern_parser/mod.rs:102
↓ 2 callers
Method
preset_level
(&self, is_default: bool)
spdlog/src/logger.rs:657
↓ 2 callers
Function
render_rust
(pkgs, title, color, better, x_margin=None)
spdlog/benches/results/chart-gen.py:107
↓ 2 callers
Method
reopen
(&self)
spdlog/src/sink/rotating_file_sink.rs:379
↓ 2 callers
Method
set_filter
Sets a filter for records from `log` crate. This is useful if users want to support `RUST_LOG` environment variable.
spdlog/src/log_crate_proxy.rs:73
↓ 2 callers
Method
set_formatter
(&self, _formatter: Box<dyn Formatter>)
spdlog/benches/spdlog-rs/pattern.rs:70
↓ 2 callers
Method
set_formatter
For [`AsyncPoolSink`], the function performs the same call to all internal sinks.
spdlog/src/sink/async_sink/async_pool_sink.rs:111
↓ 2 callers
Method
set_formatter_boxed
Sets the boxed formatter.
spdlog/src/sink/mod.rs:141
↓ 2 callers
Method
source_location
(&self)
spdlog/src/record.rs:96
↓ 2 callers
Method
stdout
(self)
spdlog/src/sink/std_stream_sink.rs:294
↓ 2 callers
Method
style_range
(&self)
spdlog/src/formatter/mod.rs:126
↓ 2 callers
Function
take_until_unbalanced
[Credits] Copied and modified from: https://github.com/Geal/nom/issues/1253 https://github.com/getreu/parse-hyperlinks/blob/0a69575d5d0356f850940717da
spdlog-internal/src/pattern_parser/helper.rs:17
↓ 2 callers
Method
to_factory_erased
(&self)
spdlog-internal/src/pattern_parser/mod.rs:109
↓ 2 callers
Function
unwrap_or
(v, d)
spdlog/benches/results/chart-gen.py:19
← previous
next →
101–200 of 724, ranked by callers