com.renomad.minum.logging.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minum Show documentation
Show all versions of minum Show documentation
A minimalist web framework
/**
* These classes enable outputting messages during the program run, labeled to indicate
* the category. It is able to do this without slowing down the system unduly. Start
* by reviewing {@link com.renomad.minum.logging.ILogger}
*
* Examples:
*
*
* {@code
* this.logger = context.getLogger();
*
* logger.logDebug(() -> "an empty path was provided to writeString");
*
* logger.logTrace(() -> String.format("client connected from %s", sw.getRemoteAddrWithPort()));
*
* logger.logAsyncError(() -> String.format("Error while reading file: %s. %s", path, StacktraceUtils.stackTraceToString(e)));
*
* logger.logAudit(() -> String.format("%s has posted a new video, %s, with short description of %s, size of %d",
* authResult.user().getUsername(),
* newFilename,
* shortDescription,
* countOfVideoBytes
* ));
* }
*
*/
package com.renomad.minum.logging;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy