G.ServerLog

From GMod Wiki

Jump to: navigation, search
Function
Syntax ServerLog( String Text )
Where is this used?
Description:
Prints to the server logs.
Returns: nil
Part of Library: Global Functions
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.ServerLog]G.ServerLog [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrints to the server logs.
Used onNewerServer.png
Code
ServerLog("This is a test!")
Output09:09:44 L 05/21/2009 - 08:09:41: This is a test!
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox