-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
958393f
commit e0d2fc7
Showing
38 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
src/main/kotlin/org/hydev/logger/appenders/ColorCompatibility.kt
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
src/main/kotlin/org/hydev/logger/coloring/MultiPointLinearGradient.kt
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import org.hydev.logger.utils.FormatUtils; | ||
|
||
/** | ||
* TODO: Write a description for this class! | ||
* | ||
* @author HyDEV Team (https://github.com/HyDevelop) | ||
* @author Hykilpikonna (https://github.com/hykilpikonna) | ||
* @author Vanilla (https://github.com/VergeDX) | ||
* @since 2020-07-05 19:28 | ||
*/ | ||
public class FormatUtilsTest | ||
{ | ||
public static void main(String[] args) | ||
{ | ||
System.out.println(FormatUtils.resolve("\\ab\\c{}\\as\\{}df{}", 2, 5)); | ||
System.out.println(FormatUtils.resolve("{}{}{}", 2, 5)); | ||
System.out.println(FormatUtils.resolve("{}{}w", 2, 5)); | ||
System.out.println(FormatUtils.resolve("{}{}w", 2)); | ||
System.out.println(FormatUtils.resolve("{}\\{w", 2)); | ||
System.out.println(FormatUtils.resolve("}w", 2)); | ||
} | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.