All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.webull.openapi.example.log.LoggerTest Maven / Gradle / Ivy

The newest version!
package com.webull.openapi.example.log;

import com.webull.openapi.logger.Logger;
import com.webull.openapi.logger.LoggerFactory;

public class LoggerTest {

    static {
        LoggerFactory.setDefault(new ExampleLoggerFactory());
    }

    private static final Logger logger = LoggerFactory.getLogger(LoggerTest.class);

    public static void main(String[] args) {
        logger.error("Print error log...");
        logger.warn("Print warn log...");
        logger.info("Print info log...");
        logger.debug("Print debug log...");
        logger.trace("Print trace log...");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy