diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 147fbd5..b28ad69 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -411,6 +411,7 @@ namespace OpenSim.Framework.Servers | |||
411 | /// That is something that cannot be determined within this class. So | 411 | /// That is something that cannot be determined within this class. So |
412 | /// all attempts to use the console MUST be verified. | 412 | /// all attempts to use the console MUST be verified. |
413 | /// </summary> | 413 | /// </summary> |
414 | /// <param name="msg"></param> | ||
414 | protected void Notice(string msg) | 415 | protected void Notice(string msg) |
415 | { | 416 | { |
416 | if (m_console != null) | 417 | if (m_console != null) |
@@ -418,6 +419,19 @@ namespace OpenSim.Framework.Servers | |||
418 | m_console.Output(msg); | 419 | m_console.Output(msg); |
419 | } | 420 | } |
420 | } | 421 | } |
422 | |||
423 | /// <summary> | ||
424 | /// Console output is only possible if a console has been established. | ||
425 | /// That is something that cannot be determined within this class. So | ||
426 | /// all attempts to use the console MUST be verified. | ||
427 | /// </summary> | ||
428 | /// <param name="format"></param> | ||
429 | /// <param name="components"></param> | ||
430 | protected void Notice(string format, params string[] components) | ||
431 | { | ||
432 | if (m_console != null) | ||
433 | m_console.OutputFormat(format, components); | ||
434 | } | ||
421 | 435 | ||
422 | /// <summary> | 436 | /// <summary> |
423 | /// Enhance the version string with extra information if it's available. | 437 | /// Enhance the version string with extra information if it's available. |