LoggerManager.CloseAndFlush method (1 of 2)

CloseAndFlush a logger instance.

public static bool CloseAndFlush(ILogger logger)
parameter description
logger The logger instance to close and flush.

Return Value

True if the logger was found and closed; otherwise, false.

See Also


LoggerManager.CloseAndFlush method (2 of 2)

CloseAndFlush a logger by name.

public static bool CloseAndFlush(string name)
parameter description
name The name of the logger to close and flush.

Return Value

True if the logger was found and closed; otherwise, false.

See Also