 | ILoggerExtensionsInfo Method (ILogger, String, Object) |
Writes a Info message with optional format arguments.
Namespace: Bobs.LumberjackAssembly: Bobs.Lumberjack (in Bobs.Lumberjack.dll) Version: 0.1.0-dev001
Syntaxpublic static void Info(
this ILogger logger,
string message,
params Object[] args
)
<ExtensionAttribute>
Public Shared Sub Info (
logger As ILogger,
message As String,
ParamArray args As Object()
)
public:
[ExtensionAttribute]
static void Info(
ILogger^ logger,
String^ message,
... array<Object^>^ args
)
[<ExtensionAttribute>]
static member Info :
logger : ILogger *
message : string *
args : Object[] -> unit
Parameters
- logger
- Type: Bobs.LumberjackILogger
The logger to log with. - message
- Type: SystemString
The message. - args
- Type: SystemObject
Optional format arguments.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also