final class BspServerLogger extends Logger with ScribeAdapter
Creates a logger that will forward all the messages to the underlying bsp client.
It does so via the replication of the build/logMessage
LSP functionality.
- Alphabetic
- By Inheritance
- BspServerLogger
- ScribeAdapter
- LoggerSupport
- Logger
- BaseSbtLogger
- Logger
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
ansiCodesSupported(): Boolean
- Definition Classes
- BspServerLogger → Logger
-
def
asDiscrete: Logger
- Definition Classes
- BspServerLogger → Logger
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asVerbose: Logger
- Definition Classes
- BspServerLogger → Logger
- implicit val client: JsonRpcClient
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
debug(msg: String)(implicit ctx: DebugFilter): Unit
- Definition Classes
- BspServerLogger → Logger
-
macro
def
debug[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
macro
def
debug[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
def
debug(msg: Supplier[String]): Unit
- Definition Classes
- Logger → Logger
-
def
debug(msg: String): Unit
- Definition Classes
- BaseSbtLogger → Logger
-
def
debugFilter: DebugFilter
- Definition Classes
- BspServerLogger → Logger
- def diagnostic(project: Project, problem: Problem, clear: Boolean): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: String): Unit
- Definition Classes
- BspServerLogger → Logger
-
macro
def
error[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
macro
def
error[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
def
error(msg: Supplier[String]): Unit
- Definition Classes
- Logger → Logger
-
def
finalize(): Unit
- Attributes
- protected[java.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()
-
def
info(msg: String): Unit
- Definition Classes
- BspServerLogger → Logger
-
macro
def
info[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
macro
def
info[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
def
info(msg: Supplier[String]): Unit
- Definition Classes
- Logger → Logger
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isVerbose: Boolean
- Definition Classes
- BspServerLogger → Logger
-
def
log[M](record: LogRecord[M]): Unit
- Definition Classes
- ScribeAdapter → LoggerSupport
-
macro
def
log[M](level: Level, message: ⇒ M, throwable: Option[Throwable])(implicit loggable: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
val
name: String
- Definition Classes
- BspServerLogger → Logger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextTaskId: TaskId
Return the next task id per bsp session.
- def noDiagnostic(project: Project, file: File): Unit
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
publishCompileEnd(project: Project, taskId: TaskId, problems: Seq[Problem], code: StatusCode): Unit
Publish a compile start notification to the client via BSP.
Publish a compile start notification to the client via BSP.
The compile end notification must always the same task id than its counterpart, published by publishCompileStart().
- project
The project to which the compilation is associated.
- taskId
The task id to use for this publication.
- problems
The sequence of problems that were found during compilation.
- code
The status code associated with the finished compilation event.
-
def
publishCompileProgress(taskId: TaskId, progress: Long, total: Long, phase: String, sourceFile: String): Unit
Publish a compile progress notification to the client via BSP.
Publish a compile progress notification to the client via BSP.
The following fields of the progress notification are not populated:
1. data: Option[Json] -- there is no additional metadata we want to share with the client.
-
def
publishCompileStart(project: Project, taskId: TaskId): Unit
Publish a compile start notification to the client via BSP.
Publish a compile start notification to the client via BSP.
The compile start notification must always have a corresponding compile end notification, published by publishCompileEnd().
- project
The project to which the compilation is associated.
- taskId
The task id to use for this publication.
-
def
report(msg: String, t: Throwable): Unit
- Definition Classes
- Logger
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(t: Throwable): Unit
- Definition Classes
- BspServerLogger → Logger
-
macro
def
trace[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
macro
def
trace[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
def
trace(exception: Supplier[Throwable]): Unit
- Definition Classes
- Logger → Logger
-
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
- @native() @throws( ... )
-
def
warn(msg: String): Unit
- Definition Classes
- BspServerLogger → Logger
-
macro
def
warn[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
macro
def
warn[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
- Definition Classes
- LoggerSupport
-
def
warn(msg: Supplier[String]): Unit
- Definition Classes
- Logger → Logger