Uses of Enum Class
dev.ua.theroer.magicutils.logger.LogTarget
Packages that use LogTarget
-
Uses of LogTarget in dev.ua.theroer.magicutils.config.logger
Methods in dev.ua.theroer.magicutils.config.logger that return LogTarget -
Uses of LogTarget in dev.ua.theroer.magicutils.logger
Subclasses with type arguments of type LogTarget in dev.ua.theroer.magicutils.loggerMethods in dev.ua.theroer.magicutils.logger that return LogTargetModifier and TypeMethodDescriptiondefault LogTargetLoggerAdapter.getDefaultTarget()Returns the default log target.LoggerCore.getDefaultTarget()Returns the default log target from the active configuration.static LogTargetReturns the enum constant of this class with the specified name.static LogTarget[]LogTarget.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.ua.theroer.magicutils.logger with parameters of type LogTargetModifier and TypeMethodDescriptionstatic voidLogDispatcher.deliver(Platform platform, net.kyori.adventure.text.Component component, Collection<Audience> recipients, LogTarget target) Sends the component to console and/or chat in a thread-safe way.static voidLogDispatcher.deliver(Platform platform, net.kyori.adventure.text.Component chatComponent, net.kyori.adventure.text.Component consoleComponent, Collection<Audience> recipients, LogTarget target, ConsoleMessageMetadata consoleMetadata) Sends the component to console and/or chat in a thread-safe way.static Collection<Audience> LogDispatcher.determineRecipients(Audience audience, Collection<? extends Audience> audiences, boolean broadcast, LogTarget target, Platform platform) Resolves concrete recipients based on provided audience(s) and broadcast flag.static net.kyori.adventure.text.ComponentLogMessageFormatter.format(LoggerCore logger, Object message, LogLevel level, LogTarget target, @Nullable PrefixMode prefixOverride, @Nullable Audience directAudience, @Nullable Collection<? extends Audience> audienceCollection, Object... placeholdersArgs) Converts an arbitrary message object into a formatted component ready for delivery.booleanLoggerCore.isLevelEnabled(LogLevel level, LogTarget target) Returns whether a log level is enabled for the provided target.default net.kyori.adventure.text.ComponentLoggerAdapter.parseMessage(Object message, LogLevel level, LogTarget target, P player, @Nullable Collection<? extends P> players, Object... placeholdersArgs) Parses message into a component using logger pipeline.net.kyori.adventure.text.ComponentLoggerCore.parseMessage(Object message, LogLevel level, LogTarget target, @Nullable PrefixMode prefixOverride, @Nullable Audience directAudience, @Nullable Collection<? extends Audience> audienceCollection, Object... placeholdersArgs) Parses a message to a component using custom prefix override.net.kyori.adventure.text.ComponentLoggerCore.parseMessage(Object message, LogLevel level, LogTarget target, @Nullable Audience directAudience, @Nullable Collection<? extends Audience> audienceCollection, Object... placeholdersArgs) Parses a message to a component using current logger configuration.default voidLoggerAdapter.send(LogLevel level, Object message, P player, @Nullable Collection<? extends P> players, LogTarget target, boolean broadcast, Object... placeholders) Sends a message using the configured logger pipeline.voidLoggerCore.send(LogLevel level, Object message, @Nullable Audience audience, @Nullable Collection<? extends Audience> audiences, LogTarget target, boolean broadcast, Object... placeholders) Sends a message through the logger pipeline.voidPrefixedLoggerCore.send(LogLevel level, Object message, Audience audience, Collection<? extends Audience> audiences, LogTarget target, boolean broadcast, Object... placeholders) Sends a message using the prefixed logger.Sets the log target for this message.