class IzLogger extends RoutingLogger with EncodingAwareAbstractLogger[AnyEncoded] with AbstractMacroLogger
- Alphabetic
- By Inheritance
- IzLogger
- AbstractMacroLogger
- EncodingAwareAbstractLogger
- RoutingLogger
- AbstractLogger
- AbstractLoggerF
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IzLogger(router: LogRouter, customContext: CustomContext)
Type Members
-
type
Self = IzLogger
- Definition Classes
- IzLogger → EncodingAwareAbstractLogger → RoutingLogger → AbstractLogger → AbstractLoggerF
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
acceptable(loggerId: LoggerId, logLevel: Level): Boolean
Check if
loggerId
is not blacklisted andlogLevel
is above the configured thresholdCheck if
loggerId
is not blacklisted andlogLevel
is above the configured threshold- Definition Classes
- RoutingLogger → AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
-
final
def
acceptable(logLevel: Level)(implicit pos: CodePositionMaterializer): Identity[Boolean]
- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
-
final
def
apply(context: Map[String, AnyEncoded]): Self
- Definition Classes
- EncodingAwareAbstractLogger
-
final
def
apply(context: (String, AnyEncoded)*): Self
- Definition Classes
- EncodingAwareAbstractLogger
-
final
def
apply(context: CustomContext): Self
- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final macro
def
crit(message: String): Unit
- Definition Classes
- AbstractMacroLogger
-
val
customContext: CustomContext
- Definition Classes
- IzLogger → RoutingLogger
-
final macro
def
debug(message: String): Unit
- Definition Classes
- AbstractMacroLogger
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final macro
def
error(message: String): Unit
- Definition Classes
- AbstractMacroLogger
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
ifAcceptable(loggerId: LoggerId, logLevel: Level)(action: ⇒ Unit)(implicit pos: CodePositionMaterializer): Unit
- Definition Classes
- AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
-
final macro
def
info(message: String): Unit
- Definition Classes
- AbstractMacroLogger
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
log(logLevel: Level)(messageThunk: ⇒ Message)(implicit pos: CodePositionMaterializer): Identity[Unit]
Construct Entry and log if
logLevel
is above the threshold configured for this logger.Construct Entry and log if
logLevel
is above the threshold configured for this logger.Does not allocate Entry if
logLevel
is below the requirement- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
-
final
def
log(entry: Entry): Identity[Unit]
Log Entry if
logLevel
is above the threshold configured for this logger.Log Entry if
logLevel
is above the threshold configured for this logger.- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def raw: RawLogger[AnyEncoded]
-
val
router: LogRouter
- Definition Classes
- IzLogger → RoutingLogger
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final macro
def
trace(message: String): Unit
More efficient aliases for log
More efficient aliases for log
These directly splice an acceptable check before calling unsafeLog which is more efficient than creating a
messageThunk
for a log call.They also look better in Intellij
- Definition Classes
- AbstractMacroLogger
-
final
def
unsafeLog(entry: Entry): Unit
Log irrespective of minimum log level
Log irrespective of minimum log level
- Definition Classes
- RoutingLogger → AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final macro
def
warn(message: String): Unit
- Definition Classes
- AbstractMacroLogger
-
def
withCustomContext(context: CustomContext): Self
- Definition Classes
- IzLogger → AbstractLoggerF
-
final
def
withCustomContext(context: (String, AnyEncoded)*): Self
- Definition Classes
- EncodingAwareAbstractLogger
-
final
def
withCustomContextMap(context: Map[String, AnyEncoded]): Self
- Definition Classes
- EncodingAwareAbstractLogger