Skip to content

SysTensor is an opensource java dependency that helps you in your projects with logging and debugging.

Notifications You must be signed in to change notification settings

Donkaos501/SysTensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SysTensor

Jenkins

SysTensor is an opensource Java dependency that helps you in your projects with logging and debugging.

Install

Maven:

    <repositories>
        <repository>
            <id>SysTensor</id>
            <url>https://repo.rgb-cloud.net/repository/SysTensor/</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>de.donkaos</groupId>
            <artifactId>SysTensor</artifactId>
            <version>1.3.3</version>
        </dependency>
    </dependencies>

Features

Logging

// Settings
Sys.setPrefix("SYS");   // Default is "SYS"
Sys.useColors(true);    // Default is true
// Logging
Sys.log("test");        // ==> "[09:31:53] [SYS] [LOG] Test"
Sys.success("Test");    // ==> "[09:34:14] [SYS] [SUCCESS] TEST"
Sys.info("Test");       // ==> "[09:34:14] [SYS] [INFO] Test"
Sys.init("Test");       // ==> "[09:34:14] [SYS] [INIT] Test"
Sys.warn("Test");       // ==> "[09:34:14] [SYS] [WARN] Test"
Sys.error("Test");      // ==> "[09:34:14] [SYS] [ERROR] Test"

Debugging

// Settting
Sys.setDebugging(false);     // Default is false
// Usage
Sys.debug("Test");           // ==> "[09:38:24] [SYS] [DEBUG] Test"

Wait/Timers

// Usage
Sys.wait.hours(1);
Sys.wait.seconds(1);
Sys.wait.milliSec(1);
Sys.wait.nanoSec(1);

Mysql

Config

About

SysTensor is an opensource java dependency that helps you in your projects with logging and debugging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages