Skip to content

io microsphere logging LoggerUtils

github-actions[bot] edited this page Aug 10, 2026 · 1 revision

LoggerUtils

Type: Class | Module: microsphere-java-core | Package: io.microsphere.logging | Since: 1.0.0

Source: microsphere-java-core/src/main/java/io/microsphere/logging/LoggerUtils.java

Overview

The Utilities class of Logger

Declaration

public abstract class LoggerUtils

Author: Mercy

Version Information

  • Introduced in: 1.0.0
  • Current Project Version: 0.3.18-SNAPSHOT

Version Compatibility

This component is tested and compatible with the following Java versions:

Java Version Status
Java 8 ✅ Compatible
Java 11 ✅ Compatible
Java 17 ✅ Compatible
Java 21 ✅ Compatible
Java 25 ✅ Compatible

Usage

Maven Dependency

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.microsphere-projects</groupId>
    <artifactId>microsphere-java-core</artifactId>
    <version>${microsphere-java.version}</version>
</dependency>

Tip: Use the BOM (microsphere-java-dependencies) for consistent version management. See the Getting Started guide.

Import

import io.microsphere.logging.LoggerUtils;

API Reference

Public Methods

Method Description
trace Log the message when TRACE level is enabled
debug Log the message when DEBUG level is enabled
info Log the message when INFO level is enabled
warn Log the message when WARN level is enabled
error Log the message when ERROR level is enabled

See Also

  • Logger
  • LoggerFactory

This documentation was auto-generated from the source code of microsphere-java.

Home

annotation-processor

annotation-test

java-annotations

java-core

java-test

jdk-tools

lang-model

Clone this wiki locally