Barotrauma Client Doc
Barotrauma.LuaCsLogger Class Reference

Static Public Member Functions

static void HandleException (Exception ex, LuaCsMessageOrigin origin)
 
static void LogError (string message, LuaCsMessageOrigin origin)
 
static void LogError (string message)
 
static void LogMessage (string message, Color? serverColor=null, Color? clientColor=null)
 
static void Log (string message, Color? color=null, ServerLog.MessageType messageType=ServerLog.MessageType.ServerMessage)
 
static void AddToGUIUpdateList ()
 
static void ShowErrorOverlay (string message, float time=5f, float duration=1.5f)
 

Static Public Attributes

static bool HideUserNames = true
 
static LuaCsMessageLogger MessageLogger
 
static LuaCsExceptionHandler ExceptionHandler
 

Detailed Description

Member Function Documentation

◆ AddToGUIUpdateList()

static void Barotrauma.LuaCsLogger.AddToGUIUpdateList ( )
static

◆ HandleException()

static void Barotrauma.LuaCsLogger.HandleException ( Exception  ex,
LuaCsMessageOrigin  origin 
)
static

◆ Log()

static void Barotrauma.LuaCsLogger.Log ( string  message,
Color?  color = null,
ServerLog.MessageType  messageType = ServerLog.MessageType.ServerMessage 
)
static

◆ LogError() [1/2]

static void Barotrauma.LuaCsLogger.LogError ( string  message)
static

◆ LogError() [2/2]

static void Barotrauma.LuaCsLogger.LogError ( string  message,
LuaCsMessageOrigin  origin 
)
static

◆ LogMessage()

static void Barotrauma.LuaCsLogger.LogMessage ( string  message,
Color?  serverColor = null,
Color?  clientColor = null 
)
static

◆ ShowErrorOverlay()

static void Barotrauma.LuaCsLogger.ShowErrorOverlay ( string  message,
float  time = 5f,
float  duration = 1.5f 
)
static

Member Data Documentation

◆ ExceptionHandler

LuaCsExceptionHandler Barotrauma.LuaCsLogger.ExceptionHandler
static

◆ HideUserNames

bool Barotrauma.LuaCsLogger.HideUserNames = true
static

◆ MessageLogger

LuaCsMessageLogger Barotrauma.LuaCsLogger.MessageLogger
static