c
cn.tellyouwhat.gangsutils.logger.dest.webhook
FeishuWebhookLogger
Companion object FeishuWebhookLogger
class FeishuWebhookLogger extends WebhookLogger
A logger that write logs to Feishu (飞书)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FeishuWebhookLogger
- WebhookLogger
- Logger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FeishuWebhookLogger()
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildLog(msg: String, level: LogLevel.Value): OneLog
构建日志文本
-
def
checkPrerequisite(): Unit
check prerequisite before perform the real log action
check prerequisite before perform the real log action
- Attributes
- protected
- Definition Classes
- FeishuWebhookLogger → Logger
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
critical(msg: Any, throwable: Throwable = null): Boolean
记录一条致命级别的日志
-
def
doTheLogAction(msg: String, level: LogLevel.Value): Boolean
真正去输出一条日志
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: Any): Boolean
记录一条错误级别的日志
-
val
feishuRobotsToSend: Set[Robot]
要发往的机器人
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
hostname: String
lazy value of hostname
lazy value of hostname
- Definition Classes
- Logger
-
def
info(msg: Any): Boolean
记录一条信息级别的日志
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(msg: Any, level: LogLevel.Value): Boolean
通过参数指定级别的日志
-
val
loggerConfig: LoggerConfiguration
LoggerConfiguration for the logger to stylish the log
LoggerConfiguration for the logger to stylish the log
- Definition Classes
- FeishuWebhookLogger → Logger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
success(msg: Any): Boolean
记录一条成功级别的日志
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(msg: Any): Boolean
记录一条跟踪级别的日志
-
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
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warning(msg: Any): Boolean
记录一条警告级别的日志
-
def
webhookLog(msg: String, level: LogLevel.Value): Boolean
执行 webhook 日志
执行 webhook 日志
- msg
日志内容
- level
日志级别
- Attributes
- protected
- Definition Classes
- FeishuWebhookLogger → WebhookLogger
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated