public final class NLogScopeImpl extends Object implements NLogScope
| Modifier and Type | Method and Description |
|---|---|
NLog |
getLog() |
NMsgSupplier<NMsg> |
getMessagePrefix() |
NMsgSupplier<NMsg> |
getMessageSuffix() |
Object |
getPlaceholder(String name) |
Map<String,Supplier<?>> |
getPlaceholders() |
boolean |
isBlank() |
NLogScope |
mergedWith(NLogScope other) |
NLogScope |
withLog(NLog logger) |
NLogScope |
withLog(NLogSPI logger) |
NLogScope |
withLog(String name,
NLogSPI logger) |
NLogScope |
withMessagePrefix(NMsg prefix) |
NLogScope |
withMessagePrefix(NMsgSupplier<NMsg> prefix) |
NLogScope |
withMessageSuffix(NMsg suffix) |
NLogScope |
withMessageSuffix(NMsgSupplier<NMsg> suffix) |
NLogScopeImpl |
withPlaceholder(String key,
Object value) |
NLogScope |
withPlaceholders(Map<String,?> map) |
NLogScope |
withPlaceholderSupplier(String key,
Supplier<?> supplier) |
NLogScope |
withPlaceholderSuppliers(Map<String,Supplier<?>> map) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfirstNonBlank, firstNonBlank, firstNonBlank, firstNonBlankLazy, firstNonBlankLazy, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankpublic static final NLogScope BLANK
public Map<String,Supplier<?>> getPlaceholders()
getPlaceholders in interface NLogScopepublic Object getPlaceholder(String name)
getPlaceholder in interface NLogScopepublic NLogScope withMessagePrefix(NMsg prefix)
withMessagePrefix in interface NLogScopepublic NLogScope withMessageSuffix(NMsg suffix)
withMessageSuffix in interface NLogScopepublic NLogScope withMessagePrefix(NMsgSupplier<NMsg> prefix)
withMessagePrefix in interface NLogScopepublic NLogScope withMessageSuffix(NMsgSupplier<NMsg> suffix)
withMessageSuffix in interface NLogScopepublic NLogScope withPlaceholders(Map<String,?> map)
withPlaceholders in interface NLogScopepublic NLogScope withPlaceholderSuppliers(Map<String,Supplier<?>> map)
withPlaceholderSuppliers in interface NLogScopepublic NLogScopeImpl withPlaceholder(String key, Object value)
withPlaceholder in interface NLogScopepublic NLogScope withPlaceholderSupplier(String key, Supplier<?> supplier)
withPlaceholderSupplier in interface NLogScopepublic NLogScope mergedWith(NLogScope other)
mergedWith in interface NLogScopepublic NMsgSupplier<NMsg> getMessagePrefix()
getMessagePrefix in interface NLogScopepublic NMsgSupplier<NMsg> getMessageSuffix()
getMessageSuffix in interface NLogScopepublic boolean isBlank()
isBlank in interface NLogScopeisBlank in interface NBlankableCopyright © 2026 vpc open source initiative. All rights reserved.