mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
✨ Clarify application and library logger entries
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
pub type ApplicationAsyncLogger = AsyncLogger[@bitlogger.RuntimeSink]
|
||||
|
||||
pub type ApplicationTextAsyncLogger = AsyncLogger[@bitlogger.FormattedConsoleSink]
|
||||
|
||||
pub fn build_application_async_logger(
|
||||
config : AsyncLoggerBuildConfig,
|
||||
) -> ApplicationAsyncLogger {
|
||||
build_async_logger(config)
|
||||
}
|
||||
|
||||
pub fn build_application_text_async_logger(
|
||||
config : AsyncLoggerBuildConfig,
|
||||
) -> ApplicationTextAsyncLogger {
|
||||
build_async_text_logger(config)
|
||||
}
|
||||
|
||||
pub fn parse_and_build_application_async_logger(
|
||||
input : String,
|
||||
) -> ApplicationAsyncLogger raise {
|
||||
build_application_async_logger(parse_async_logger_build_config_text(input))
|
||||
}
|
||||
Reference in New Issue
Block a user